org.apache.commons.compress.archivers.tar

Interface TarConstants

  • All Known Implementing Classes:
    TarArchiveEntry, TarArchiveSparseEntry


    public interface TarConstants
    This interface contains all the definitions used in the package. For tar formats (FORMAT_OLDGNU, FORMAT_POSIX, etc.) see GNU tar tar.h type enum archive_format
    • Field Summary

      Fields 
      Modifier and TypeField and Description
      static intATIMELEN_GNU
      The length of the access time field in an old GNU header buffer.
      static intATIMELEN_XSTAR
      The length of the access time field in a xstar header buffer.
      static intCHKSUM_OFFSET
      Offset of the checksum field within header record.
      static intCHKSUMLEN
      The length of the checksum field in a header buffer.
      static intCTIMELEN_GNU
      The length of the created time field in an old GNU header buffer.
      static intCTIMELEN_XSTAR
      The length of the created time field in a xstar header buffer.
      static intDEFAULT_BLKSIZE
      Default block size
      static intDEFAULT_RCDSIZE
      Default record size
      static intDEVLEN
      The length of each of the device fields (major and minor) in a header buffer.
      static intFORMAT_OLDGNU
      GNU format as per before tar 1.12.
      static intFORMAT_POSIX
      Pure Posix format.
      static intFORMAT_XSTAR
      xstar format used by J??rg Schilling's star.
      static intGIDLEN
      The length of the group id field in a header buffer.
      static intGNAMELEN
      The length of the group name field in a header buffer.
      static StringGNU_LONGLINK
      The name of the GNU tar entry which contains a long name.
      static intISEXTENDEDLEN_GNU
      The length of the is extension field in an old GNU header buffer.
      static intISEXTENDEDLEN_GNU_SPARSE
      The length of the is extension field in a sparse header buffer.
      static byteLF_BLK
      Block device file type.
      static byteLF_CHR
      Character device file type.
      static byteLF_CONTIG
      Contiguous file type.
      static byteLF_DIR
      Directory file type.
      static byteLF_FIFO
      FIFO (pipe) file type.
      static byteLF_GNUTYPE_LONGLINK
      Identifies the *next* file on the tape as having a long linkname.
      static byteLF_GNUTYPE_LONGNAME
      Identifies the *next* file on the tape as having a long name.
      static byteLF_GNUTYPE_SPARSE
      Sparse file type.
      static byteLF_LINK
      Link file type.
      static byteLF_NORMAL
      Normal file type.
      static byteLF_OLDNORM
      LF_ constants represent the "link flag" of an entry, or more commonly, the "entry type".
      static byteLF_PAX_EXTENDED_HEADER_LC
      Identifies the entry as a Pax extended header.
      static byteLF_PAX_EXTENDED_HEADER_UC
      Identifies the entry as a Pax extended header (SunOS tar -E).
      static byteLF_PAX_GLOBAL_EXTENDED_HEADER
      Identifies the entry as a Pax global extended header.
      static byteLF_SYMLINK
      Symbolic link file type.
      static intLONGNAMESLEN_GNU
      The length of the long names field in an old GNU header buffer.
      static StringMAGIC_ANT
      The magic tag representing an Ant tar archive.
      static StringMAGIC_GNU
      The magic tag representing a GNU tar archive.
      static intMAGIC_OFFSET
      Offset of start of magic field within header record
      static StringMAGIC_POSIX
      The magic tag representing a POSIX tar archive.
      static StringMAGIC_XSTAR
      The magix string used in the last four bytes of the header to identify the xstar format.
      static intMAGICLEN
      The length of the magic field in a header buffer.
      static longMAXID
      The maximum value of gid/uid in a tar archive which can be expressed in octal char notation (that's 7 sevens, octal).
      static longMAXSIZE
      The maximum size of a file in a tar archive which can be expressed in octal char notation (that's 11 sevens, octal).
      static intMODELEN
      The length of the mode field in a header buffer.
      static intMODTIMELEN
      The length of the modification time field in a header buffer.
      static intNAMELEN
      The length of the name field in a header buffer.
      static intOFFSETLEN_GNU
      The length of the multivolume start offset field in an old GNU header buffer.
      static intPAD2LEN_GNU
      The length of the padding field in an old GNU header buffer.
      static intPREFIXLEN
      Length of the prefix field.
      static intPREFIXLEN_XSTAR
      Length of the prefix field in xstar archives.
      static intREALSIZELEN_GNU
      The length of the real size field in an old GNU header buffer.
      static intSIZELEN
      The length of the size field in a header buffer.
      static intSPARSELEN_GNU
      The sum of the length of all sparse headers in an old GNU header buffer.
      static intSPARSELEN_GNU_SPARSE
      The sum of the length of all sparse headers in a sparse header buffer.
      static intUIDLEN
      The length of the user id field in a header buffer.
      static intUNAMELEN
      The length of the user name field in a header buffer.
      static StringVERSION_ANT
      The "version" representing an Ant tar archive.
      static StringVERSION_GNU_SPACE 
      static StringVERSION_GNU_ZERO 
      static intVERSION_OFFSET
      Offset of start of magic field within header record
      static StringVERSION_POSIX 
      static intVERSIONLEN
      Previously this was regarded as part of "magic" field, but it is separate.
      static intXSTAR_MAGIC_LEN
      Length of the XSTAR magic.
      static intXSTAR_MAGIC_OFFSET
      Offset inside the header for the xstar magic bytes.

Copyright © 2016 The Apache Software Foundation. All rights reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14