Maven module :un.storage : archive-tar :
Class : un.storage.archive.tar.TarConstants
Extends/Implements : -
Subclasses : -

Set of tar archive constants.
author  Johann Sorel


Variables : NAMELEN, NAMEOFFSET, PREFIXLEN, PREFIXOFFSET, MODELEN, UIDLEN, GIDLEN, CHKSUMLEN, SIZELEN, MAGICLEN, MODTIMELEN, UNAMELEN, GNAMELEN, DEVLEN, LF_OLDNORM, LF_NORMAL, LF_LINK, LF_SYMLINK, LF_CHR, LF_BLK, LF_DIR, LF_FIFO, LF_CONTIG, TMAGIC, GNU_TMAGIC
Functions : -



The length of the name field in a header buffer.
public int NAMELEN


The offset of the name field in a header buffer.
public int NAMEOFFSET


The length of the name prefix field in a header buffer.
public int PREFIXLEN


The offset of the name prefix field in a header buffer.
public int PREFIXOFFSET


The length of the mode field in a header buffer.
public int MODELEN


The length of the user id field in a header buffer.
public int UIDLEN


The length of the group id field in a header buffer.
public int GIDLEN


The length of the checksum field in a header buffer.
public int CHKSUMLEN


The length of the size field in a header buffer.
public int SIZELEN


The length of the magic field in a header buffer.
public int MAGICLEN


The length of the modification time field in a header buffer.
public int MODTIMELEN


The length of the user name field in a header buffer.
public int UNAMELEN


The length of the group name field in a header buffer.
public int GNAMELEN


The length of the devices field in a header buffer.
public int DEVLEN


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.
public byte LF_OLDNORM


Normal file type.
public byte LF_NORMAL


Link file type.
public byte LF_LINK


Symbolic link file type.
public byte LF_SYMLINK


Character device file type.
public byte LF_CHR


Block device file type.
public byte LF_BLK


Directory file type.
public byte LF_DIR


FIFO (pipe) file type.
public byte LF_FIFO


Contiguous file type.
public byte LF_CONTIG


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


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