FileDocCategorySizeDatePackage
TarConstants.javaAPI DocApache Ant 1.703660Wed Dec 13 06:16:18 GMT 2006org.apache.tools.tar

TarConstants

public interface TarConstants
This interface contains all the definitions used in the package.

Fields Summary
int
NAMELEN
The length of the name field in a header buffer.
int
MODELEN
The length of the mode field in a header buffer.
int
UIDLEN
The length of the user id field in a header buffer.
int
GIDLEN
The length of the group id field in a header buffer.
int
CHKSUMLEN
The length of the checksum field in a header buffer.
int
SIZELEN
The length of the size field in a header buffer.
long
MAXSIZE
The maximum size of a file in a tar archive (That's 11 sevens, octal).
int
MAGICLEN
The length of the magic field in a header buffer.
int
MODTIMELEN
The length of the modification time field in a header buffer.
int
UNAMELEN
The length of the user name field in a header buffer.
int
GNAMELEN
The length of the group name field in a header buffer.
int
DEVLEN
The length of the devices field in a header buffer.
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.
byte
LF_NORMAL
Normal file type.
byte
LF_LINK
Link file type.
byte
LF_SYMLINK
Symbolic link file type.
byte
LF_CHR
Character device file type.
byte
LF_BLK
Block device file type.
byte
LF_DIR
Directory file type.
byte
LF_FIFO
FIFO (pipe) file type.
byte
LF_CONTIG
Contiguous file type.
String
TMAGIC
The magic tag representing a POSIX tar archive.
String
GNU_TMAGIC
The magic tag representing a GNU tar archive.
String
GNU_LONGLINK
The namr of the GNU tar entry which contains a long name.
byte
LF_GNUTYPE_LONGNAME
Identifies the *next* file on the tape as having a long name.
Constructors Summary
Methods Summary