Interface TarConstants

All Known Implementing Classes:
TarEntry

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

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The length of the checksum field in a header buffer.
    static final int
    The length of the devices field in a header buffer.
    static final int
    The length of the group id field in a header buffer.
    static final int
    The length of the group name field in a header buffer.
    static final String
    The namr of the GNU tar entry which contains a long name.
    static final String
    The magic tag representing a GNU tar archive.
    static final byte
    Block device file type.
    static final byte
    Character device file type.
    static final byte
    Contiguous file type.
    static final byte
    Directory file type.
    static final byte
    FIFO (pipe) file type.
    static final byte
    Identifies the *next* file on the tape as having a long name.
    static final byte
    Link file type.
    static final byte
    Normal file type.
    static final byte
    LF_ constants represent the "link flag" of an entry, or more commonly, the "entry type".
    static final byte
    Symbolic link file type.
    static final int
    The length of the magic field in a header buffer.
    static final long
    The maximum size of a file in a tar archive (That's 11 sevens, octal).
    static final int
    The length of the mode field in a header buffer.
    static final int
    The length of the modification time field in a header buffer.
    static final int
    The length of the name field in a header buffer.
    static final int
    The length of the size field in a header buffer.
    static final String
    The magic tag representing a POSIX tar archive.
    static final int
    The length of the user id field in a header buffer.
    static final int
    The length of the user name field in a header buffer.
  • Field Details

    • NAMELEN

      static final int NAMELEN
      The length of the name field in a header buffer.
      See Also:
    • MODELEN

      static final int MODELEN
      The length of the mode field in a header buffer.
      See Also:
    • UIDLEN

      static final int UIDLEN
      The length of the user id field in a header buffer.
      See Also:
    • GIDLEN

      static final int GIDLEN
      The length of the group id field in a header buffer.
      See Also:
    • CHKSUMLEN

      static final int CHKSUMLEN
      The length of the checksum field in a header buffer.
      See Also:
    • SIZELEN

      static final int SIZELEN
      The length of the size field in a header buffer.
      See Also:
    • MAXSIZE

      static final long MAXSIZE
      The maximum size of a file in a tar archive (That's 11 sevens, octal).
      See Also:
    • MAGICLEN

      static final int MAGICLEN
      The length of the magic field in a header buffer.
      See Also:
    • MODTIMELEN

      static final int MODTIMELEN
      The length of the modification time field in a header buffer.
      See Also:
    • UNAMELEN

      static final int UNAMELEN
      The length of the user name field in a header buffer.
      See Also:
    • GNAMELEN

      static final int GNAMELEN
      The length of the group name field in a header buffer.
      See Also:
    • DEVLEN

      static final int DEVLEN
      The length of the devices field in a header buffer.
      See Also:
    • LF_OLDNORM

      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.
      See Also:
    • LF_NORMAL

      static final byte LF_NORMAL
      Normal file type.
      See Also:
    • LF_CHR

      static final byte LF_CHR
      Character device file type.
      See Also:
    • LF_BLK

      static final byte LF_BLK
      Block device file type.
      See Also:
    • LF_DIR

      static final byte LF_DIR
      Directory file type.
      See Also:
    • LF_FIFO

      static final byte LF_FIFO
      FIFO (pipe) file type.
      See Also:
    • LF_CONTIG

      static final byte LF_CONTIG
      Contiguous file type.
      See Also:
    • TMAGIC

      static final String TMAGIC
      The magic tag representing a POSIX tar archive.
      See Also:
    • GNU_TMAGIC

      static final String GNU_TMAGIC
      The magic tag representing a GNU tar archive.
      See Also:
    • LF_GNUTYPE_LONGNAME

      static final byte LF_GNUTYPE_LONGNAME
      Identifies the *next* file on the tape as having a long name.
      See Also: