Interface TarConstants
- All Known Implementing Classes:
TarEntry
public interface TarConstants
This interface contains all the definitions used in the package.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe length of the checksum field in a header buffer.static final intThe length of the devices field in a header buffer.static final intThe length of the group id field in a header buffer.static final intThe length of the group name field in a header buffer.static final StringThe namr of the GNU tar entry which contains a long name.static final StringThe magic tag representing a GNU tar archive.static final byteBlock device file type.static final byteCharacter device file type.static final byteContiguous file type.static final byteDirectory file type.static final byteFIFO (pipe) file type.static final byteIdentifies the *next* file on the tape as having a long name.static final byteLink file type.static final byteNormal file type.static final byteLF_ constants represent the "link flag" of an entry, or more commonly, the "entry type".static final byteSymbolic link file type.static final intThe length of the magic field in a header buffer.static final longThe maximum size of a file in a tar archive (That's 11 sevens, octal).static final intThe length of the mode field in a header buffer.static final intThe length of the modification time field in a header buffer.static final intThe length of the name field in a header buffer.static final intThe length of the size field in a header buffer.static final StringThe magic tag representing a POSIX tar archive.static final intThe length of the user id field in a header buffer.static final intThe length of the user name field in a header buffer.
-
Field Details
-
NAMELEN
static final int NAMELENThe length of the name field in a header buffer.- See Also:
-
MODELEN
static final int MODELENThe length of the mode field in a header buffer.- See Also:
-
UIDLEN
static final int UIDLENThe length of the user id field in a header buffer.- See Also:
-
GIDLEN
static final int GIDLENThe length of the group id field in a header buffer.- See Also:
-
CHKSUMLEN
static final int CHKSUMLENThe length of the checksum field in a header buffer.- See Also:
-
SIZELEN
static final int SIZELENThe length of the size field in a header buffer.- See Also:
-
MAXSIZE
static final long MAXSIZEThe maximum size of a file in a tar archive (That's 11 sevens, octal).- See Also:
-
MAGICLEN
static final int MAGICLENThe length of the magic field in a header buffer.- See Also:
-
MODTIMELEN
static final int MODTIMELENThe length of the modification time field in a header buffer.- See Also:
-
UNAMELEN
static final int UNAMELENThe length of the user name field in a header buffer.- See Also:
-
GNAMELEN
static final int GNAMELENThe length of the group name field in a header buffer.- See Also:
-
DEVLEN
static final int DEVLENThe length of the devices field in a header buffer.- See Also:
-
LF_OLDNORM
static final byte LF_OLDNORMLF_ constants represent the "link flag" of an entry, or more commonly, the "entry type". This is the "old way" of indicating a normal file.- See Also:
-
LF_NORMAL
static final byte LF_NORMALNormal file type.- See Also:
-
LF_LINK
static final byte LF_LINKLink file type.- See Also:
-
LF_SYMLINK
static final byte LF_SYMLINKSymbolic link file type.- See Also:
-
LF_CHR
static final byte LF_CHRCharacter device file type.- See Also:
-
LF_BLK
static final byte LF_BLKBlock device file type.- See Also:
-
LF_DIR
static final byte LF_DIRDirectory file type.- See Also:
-
LF_FIFO
static final byte LF_FIFOFIFO (pipe) file type.- See Also:
-
LF_CONTIG
static final byte LF_CONTIGContiguous file type.- See Also:
-
TMAGIC
The magic tag representing a POSIX tar archive.- See Also:
-
GNU_TMAGIC
The magic tag representing a GNU tar archive.- See Also:
-
GNU_LONGLINK
The namr of the GNU tar entry which contains a long name.- See Also:
-
LF_GNUTYPE_LONGNAME
static final byte LF_GNUTYPE_LONGNAMEIdentifies the *next* file on the tape as having a long name.- See Also:
-