The fields of the TarHeader class are listed below. For a complete list of TarHeader class members, see the TarHeader Members topic.
Public Static Fields
CHKSUMLEN | The length of the checksum field in a header buffer. |
CHKSUMOFS | Offset of checksum in a header buffer. |
DEVLEN | The length of the devices field in a header buffer. |
GIDLEN | The length of the group id field in a header buffer. |
GNAMELEN | The length of the group name field in a header buffer. |
GNU_TMAGIC | The magic tag representing an old GNU tar archive where version is included in magic and overwrites it |
LF_ACL | Solaris access control list file type |
LF_BLK | Block device file type. |
LF_CHR | Character device file type. |
LF_CONTIG | Contiguous file type. |
LF_DIR | Directory file type. |
LF_EXTATTR | Solaris Extended Attribute File |
LF_FIFO | FIFO (pipe) file type. |
LF_GHDR | Posix.1 2001 global extended header |
LF_GNU_DUMPDIR | GNU dir dump file type This is a dir entry that contains the names of files that were in the dir at the time the dump was made |
LF_GNU_LONGLINK | Identifies the next file on the tape as having a long link name |
LF_GNU_LONGNAME | Identifies the next file on the tape as having a long name |
LF_GNU_MULTIVOL | Continuation of a file that began on another volume |
LF_GNU_NAMES | For storing filenames that dont fit in the main header (old GNU) |
LF_GNU_SPARSE | GNU Sparse file |
LF_GNU_VOLHDR | GNU Tape/volume header ignore on extraction |
LF_LINK | Link file type. |
LF_META | Inode (metadata only) no file content |
LF_NORMAL | Normal file type. |
LF_OLDNORM | The "old way" of indicating a normal file. |
LF_SYMLINK | Symbolic link file type. |
LF_XHDR | Posix.1 2001 extended header |
MAGICLEN | The length of the magic field in a header buffer. |
MODELEN | The length of the mode field in a header buffer. |
MODTIMELEN | The length of the modification time field in a header buffer. |
NAMELEN | The length of the name field in a header buffer. |
SIZELEN | The length of the size field in a header buffer. |
TMAGIC | The magic tag representing a POSIX tar archive. (includes trailing NULL) |
UIDLEN | The length of the user id field in a header buffer. |
UNAMELEN | The length of the user name field in a header buffer. |
VERSIONLEN | The length of the version field in a header buffer. |