- getBlockSize() - Method in class com.github.burrunan.s3cache.internal.tar.TarBuffer
-
Get the TAR Buffer's block size.
- getCurrentBlockNum() - Method in class com.github.burrunan.s3cache.internal.tar.TarBuffer
-
Get the current block number, zero based.
- getCurrentRecordNum() - Method in class com.github.burrunan.s3cache.internal.tar.TarBuffer
-
Get the current record number, within the current block, zero based.
- getDevMajor() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Get this entry's major device number.
- getDevMinor() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Get this entry's minor device number.
- getDirectoryEntries() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
If this entry represents a file, and the file is a directory, return
an array of TarEntries for this entry's children.
- getFile() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Get this entry's file.
- getGroupId() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
- getGroupName() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Get this entry's group name.
- getLinkName() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Get this entry's link name.
- getLongGroupId() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Get this entry's group id.
- getLongNameData() - Method in class com.github.burrunan.s3cache.internal.tar.TarInputStream
-
Get the next entry in this tar archive as longname data.
- getLongUserId() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Get this entry's user id.
- getMode() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Get this entry's mode.
- getModTime() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Set this entry's modification time.
- getName() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Get this entry's name.
- getNextEntry() - Method in class com.github.burrunan.s3cache.internal.tar.TarInputStream
-
Get the next entry in this tar archive.
- getRealSize() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Get this entry's real file size in case of a sparse file.
- getRecordSize() - Method in class com.github.burrunan.s3cache.internal.tar.TarBuffer
-
Get the TAR Buffer's record size.
- getRecordSize() - Method in class com.github.burrunan.s3cache.internal.tar.TarInputStream
-
Get the record size being used by this stream's TarBuffer.
- getRecordSize() - Method in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
Get the record size being used by this stream's TarBuffer.
- getSize() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Get this entry's file size.
- getUserId() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
- getUserName() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Get this entry's user name.
- getZipEncoding(String) - Static method in class com.github.burrunan.s3cache.internal.zip.ZipEncodingHelper
-
Instantiates a zip encoding.
- GIDLEN - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The length of the group id field in a header buffer.
- GNAMELEN - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The length of the group name field in a header buffer.
- GNU_LONGLINK - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The name of the GNU tar entry which contains a long name.
- GNU_TMAGIC - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The magic tag representing a GNU tar archive.
- isBlockDevice() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
- isCharacterDevice() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Check if this is a character device entry.
- isDescendent(TarEntry) - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Determine if the given entry is a descendant of this entry.
- isDirectory() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Return whether or not this entry represents a directory.
- isEOFRecord(byte[]) - Method in class com.github.burrunan.s3cache.internal.tar.TarBuffer
-
Determine if an archive record indicate End of Archive.
- isExtended() - Method in class com.github.burrunan.s3cache.internal.tar.TarArchiveSparseEntry
-
- isExtended() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Indicates in case of a sparse file if an extension sparse header
follows.
- ISEXTENDEDLEN_GNU - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The length of the is extension field in an old GNU header buffer.
- ISEXTENDEDLEN_GNU_SPARSE - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The length of the is extension field in a sparse header buffer.
- isFIFO() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
- isFile() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Check if this is a "normal file".
- isGlobalPaxHeader() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Check if this is a Pax header.
- isGNULongLinkEntry() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Indicate if this entry is a GNU long linkname block
- isGNULongNameEntry() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Indicate if this entry is a GNU long name block
- isGNUSparse() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Indicate if this entry is a GNU sparse block.
- isLink() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Check if this is a link entry.
- isPaxHeader() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Check if this is a Pax header.
- isSymbolicLink() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Check if this is a symbolic link entry.
- LF_BLK - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
Block device file type.
- LF_CHR - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
Character device file type.
- LF_CONTIG - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
Contiguous file type.
- LF_DIR - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
Directory file type.
- LF_FIFO - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
FIFO (pipe) file type.
- LF_GNUTYPE_LONGLINK - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
Identifies the *next* file on the tape as having a long linkname.
- LF_GNUTYPE_LONGNAME - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
Identifies the *next* file on the tape as having a long name.
- LF_GNUTYPE_SPARSE - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
Sparse file type.
- LF_LINK - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
Link file type.
- LF_NORMAL - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
Normal file type.
- LF_OLDNORM - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
LF_ constants represent the "link flag" of an entry, or more commonly,
the "entry type".
- LF_PAX_EXTENDED_HEADER_LC - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
Identifies the entry as a Pax extended header.
- LF_PAX_EXTENDED_HEADER_UC - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
Identifies the entry as a Pax extended header (SunOS tar -E).
- LF_PAX_GLOBAL_EXTENDED_HEADER - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
Identifies the entry as a Pax global extended header.
- LF_SYMLINK - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
Symbolic link file type.
- LONGFILE_ERROR - Static variable in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
Fail if a long file name is required in the archive.
- LONGFILE_GNU - Static variable in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
GNU tar extensions are used to store long file names in the archive.
- LONGFILE_POSIX - Static variable in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
POSIX/PAX extensions are used to store long file names in the archive.
- LONGFILE_TRUNCATE - Static variable in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
Long paths will be truncated in the archive.
- longFileMode - Variable in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
- LONGNAMESLEN_GNU - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The length of the long names field in an old GNU header buffer.
- MAGIC_OFFSET - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
Offset of start of magic field within header record
- MAGIC_POSIX - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The magic tag representing a POSIX tar archive.
- MAGICLEN - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The length of the magic field in a header buffer including the version.
- mark(int) - Method in class com.github.burrunan.s3cache.internal.tar.TarInputStream
-
Since we do not support marking just yet, we do nothing.
- markSupported() - Method in class com.github.burrunan.s3cache.internal.tar.TarInputStream
-
Since we do not support marking just yet, we return false.
- MAX_NAMELEN - Static variable in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Maximum length of a user's name in the tar file
- MAXID - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The maximum value of gid/uid in a tar archive which can
be expressed in octal char notation (that's 7 sevens, octal).
- MAXSIZE - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The maximum size of a file in a tar archive
which can be expressed in octal char notation (that's 11 sevens, octal).
- MILLIS_PER_SECOND - Static variable in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Convert millis to seconds
- MODELEN - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The length of the mode field in a header buffer.
- MODTIMELEN - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The length of the modification time field in a header buffer.
- setAddPaxHeadersForNonAsciiNames(boolean) - Method in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
Whether to add a PAX extension header for non-ASCII file names.
- setBigNumberMode(int) - Method in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
Set the big number mode.
- setBufferDebug(boolean) - Method in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
Sets the debugging flag in this stream's TarBuffer.
- setDebug(boolean) - Method in class com.github.burrunan.s3cache.internal.tar.TarBuffer
-
Set the debugging flag for the buffer.
- setDebug(boolean) - Method in class com.github.burrunan.s3cache.internal.tar.TarInputStream
-
Sets the debugging flag.
- setDebug(boolean) - Method in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
Sets the debugging flag.
- setDevMajor(int) - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Set this entry's major device number.
- setDevMinor(int) - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Set this entry's minor device number.
- setGroupId(int) - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Set this entry's group id.
- setGroupId(long) - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Set this entry's group id.
- setGroupName(String) - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Set this entry's group name.
- setIds(int, int) - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Convenience method to set this entry's group and user ids.
- setLinkName(String) - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Set this entry's link name.
- setLongFileMode(int) - Method in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
Set the long file mode.
- setMode(int) - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Set the mode for this entry
- setModTime(long) - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Set this entry's modification time.
- setModTime(Date) - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Set this entry's modification time.
- setName(String) - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Set this entry's name.
- setNames(String, String) - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Convenience method to set this entry's group and user names.
- setSize(long) - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Set this entry's file size.
- setUserId(int) - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Set this entry's user id.
- setUserId(long) - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Set this entry's user id.
- setUserName(String) - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Set this entry's user name.
- SIZELEN - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The length of the size field in a header buffer.
- skip(long) - Method in class com.github.burrunan.s3cache.internal.tar.TarInputStream
-
Skip bytes in the input buffer.
- skipRecord() - Method in class com.github.burrunan.s3cache.internal.tar.TarBuffer
-
Skip over a record on the input stream.
- SPARSELEN_GNU - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The sum of the length of all sparse headers in an old GNU header buffer.
- SPARSELEN_GNU_SPARSE - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The sum of the length of all sparse headers in a sparse header buffer.
- TarArchiveSparseEntry - Class in com.github.burrunan.s3cache.internal.tar
-
This class represents a sparse entry in a Tar archive.
- TarArchiveSparseEntry(byte[]) - Constructor for class com.github.burrunan.s3cache.internal.tar.TarArchiveSparseEntry
-
Construct an entry from an archive's header bytes.
- TarBuffer - Class in com.github.burrunan.s3cache.internal.tar
-
The TarBuffer class implements the tar archive concept
of a buffered input stream.
- TarBuffer(InputStream) - Constructor for class com.github.burrunan.s3cache.internal.tar.TarBuffer
-
Constructor for a TarBuffer on an input stream.
- TarBuffer(InputStream, int) - Constructor for class com.github.burrunan.s3cache.internal.tar.TarBuffer
-
Constructor for a TarBuffer on an input stream.
- TarBuffer(InputStream, int, int) - Constructor for class com.github.burrunan.s3cache.internal.tar.TarBuffer
-
Constructor for a TarBuffer on an input stream.
- TarBuffer(OutputStream) - Constructor for class com.github.burrunan.s3cache.internal.tar.TarBuffer
-
Constructor for a TarBuffer on an output stream.
- TarBuffer(OutputStream, int) - Constructor for class com.github.burrunan.s3cache.internal.tar.TarBuffer
-
Constructor for a TarBuffer on an output stream.
- TarBuffer(OutputStream, int, int) - Constructor for class com.github.burrunan.s3cache.internal.tar.TarBuffer
-
Constructor for a TarBuffer on an output stream.
- TarConstants - Interface in com.github.burrunan.s3cache.internal.tar
-
This interface contains all the definitions used in the package.
- TarEntry - Class in com.github.burrunan.s3cache.internal.tar
-
This class represents an entry in a Tar archive.
- TarEntry(String) - Constructor for class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Construct an entry with only a name.
- TarEntry(String, boolean) - Constructor for class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Construct an entry with only a name.
- TarEntry(String, byte) - Constructor for class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Construct an entry with a name and a link flag.
- TarEntry(File) - Constructor for class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Construct an entry for a file.
- TarEntry(File, String) - Constructor for class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Construct an entry for a file.
- TarEntry(byte[]) - Constructor for class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Construct an entry from an archive's header bytes.
- TarEntry(byte[], ZipEncoding) - Constructor for class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Construct an entry from an archive's header bytes.
- TarInputStream - Class in com.github.burrunan.s3cache.internal.tar
-
The TarInputStream reads a UNIX tar archive as an InputStream.
- TarInputStream(InputStream) - Constructor for class com.github.burrunan.s3cache.internal.tar.TarInputStream
-
Constructor for TarInputStream.
- TarInputStream(InputStream, String) - Constructor for class com.github.burrunan.s3cache.internal.tar.TarInputStream
-
Constructor for TarInputStream.
- TarInputStream(InputStream, int) - Constructor for class com.github.burrunan.s3cache.internal.tar.TarInputStream
-
Constructor for TarInputStream.
- TarInputStream(InputStream, int, String) - Constructor for class com.github.burrunan.s3cache.internal.tar.TarInputStream
-
Constructor for TarInputStream.
- TarInputStream(InputStream, int, int) - Constructor for class com.github.burrunan.s3cache.internal.tar.TarInputStream
-
Constructor for TarInputStream.
- TarInputStream(InputStream, int, int, String) - Constructor for class com.github.burrunan.s3cache.internal.tar.TarInputStream
-
Constructor for TarInputStream.
- TarOutputStream - Class in com.github.burrunan.s3cache.internal.tar
-
The TarOutputStream writes a UNIX tar archive as an OutputStream.
- TarOutputStream(OutputStream) - Constructor for class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
Constructor for TarInputStream.
- TarOutputStream(OutputStream, String) - Constructor for class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
Constructor for TarInputStream.
- TarOutputStream(OutputStream, int) - Constructor for class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
Constructor for TarInputStream.
- TarOutputStream(OutputStream, int, String) - Constructor for class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
Constructor for TarInputStream.
- TarOutputStream(OutputStream, int, int) - Constructor for class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
Constructor for TarInputStream.
- TarOutputStream(OutputStream, int, int, String) - Constructor for class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
Constructor for TarInputStream.
- TarUtils - Class in com.github.burrunan.s3cache.internal.tar
-
This class provides static utility methods to work with byte streams.
- TMAGIC - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-