org.apache.tools.tar

Interface TarConstants

Known Implementing Classes:
TarEntry

public interface TarConstants

This interface contains all the definitions used in the package.

Field Summary

static int
CHKSUMLEN
The length of the checksum field in a header buffer.
static int
DEVLEN
The length of the devices field in a header buffer.
static int
GIDLEN
The length of the group id field in a header buffer.
static int
GNAMELEN
The length of the group name field in a header buffer.
static String
GNU_LONGLINK
The namr of the GNU tar entry which contains a long name.
static String
GNU_TMAGIC
The magic tag representing a GNU tar archive.
static byte
LF_BLK
Block device file type.
static byte
LF_CHR
Character device file type.
static byte
LF_CONTIG
Contiguous file type.
static byte
LF_DIR
Directory file type.
static byte
LF_FIFO
FIFO (pipe) file type.
static byte
LF_GNUTYPE_LONGNAME
Identifies the *next* file on the tape as having a long name.
static byte
LF_LINK
Link file type.
static byte
LF_NORMAL
Normal file type.
static byte
LF_OLDNORM
LF_ constants represent the "link flag" of an entry, or more commonly, the "entry type".
static byte
LF_SYMLINK
Symbolic link file type.
static int
MAGICLEN
The length of the magic field in a header buffer.
static int
MODELEN
The length of the mode field in a header buffer.
static int
MODTIMELEN
The length of the modification time field in a header buffer.
static int
NAMELEN
The length of the name field in a header buffer.
static int
SIZELEN
The length of the size field in a header buffer.
static String
TMAGIC
The magic tag representing a POSIX tar archive.
static int
UIDLEN
The length of the user id field in a header buffer.
static int
UNAMELEN
The length of the user name field in a header buffer.

Field Details

CHKSUMLEN

public static final int CHKSUMLEN
The length of the checksum field in a header buffer.
Field Value:
8

DEVLEN

public static final int DEVLEN
The length of the devices field in a header buffer.
Field Value:
8

GIDLEN

public static final int GIDLEN
The length of the group id field in a header buffer.
Field Value:
8

GNAMELEN

public static final int GNAMELEN
The length of the group name field in a header buffer.
Field Value:
32

GNU_LONGLINK

public static final String GNU_LONGLINK
The namr of the GNU tar entry which contains a long name.

GNU_TMAGIC

public static final String GNU_TMAGIC
The magic tag representing a GNU tar archive.

LF_BLK

public static final byte LF_BLK
Block device file type.
Field Value:
52

LF_CHR

public static final byte LF_CHR
Character device file type.
Field Value:
51

LF_CONTIG

public static final byte LF_CONTIG
Contiguous file type.
Field Value:
55

LF_DIR

public static final byte LF_DIR
Directory file type.
Field Value:
53

LF_FIFO

public static final byte LF_FIFO
FIFO (pipe) file type.
Field Value:
54

LF_GNUTYPE_LONGNAME

public static final byte LF_GNUTYPE_LONGNAME
Identifies the *next* file on the tape as having a long name.
Field Value:
76

LF_LINK

public static final byte LF_LINK
Link file type.
Field Value:
49

LF_NORMAL

public static final byte LF_NORMAL
Normal file type.
Field Value:
48

LF_OLDNORM

public static final byte LF_OLDNORM
LF_ constants represent the "link flag" of an entry, or more commonly, the "entry type". This is the "old way" of indicating a normal file.
Field Value:
0

LF_SYMLINK

public static final byte LF_SYMLINK
Symbolic link file type.
Field Value:
50

MAGICLEN

public static final int MAGICLEN
The length of the magic field in a header buffer.
Field Value:
8

MODELEN

public static final int MODELEN
The length of the mode field in a header buffer.
Field Value:
8

MODTIMELEN

public static final int MODTIMELEN
The length of the modification time field in a header buffer.
Field Value:
12

NAMELEN

public static final int NAMELEN
The length of the name field in a header buffer.
Field Value:
100

SIZELEN

public static final int SIZELEN
The length of the size field in a header buffer.
Field Value:
12

TMAGIC

public static final String TMAGIC
The magic tag representing a POSIX tar archive.

UIDLEN

public static final int UIDLEN
The length of the user id field in a header buffer.
Field Value:
8

UNAMELEN

public static final int UNAMELEN
The length of the user name field in a header buffer.
Field Value:
32

Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.