Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- assemBuf - Variable in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
- assemLen - Variable in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
- ATIMELEN_GNU - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The length of the access time field in an old GNU header buffer.
- available() - Method in class com.github.burrunan.s3cache.internal.tar.TarInputStream
-
Get the available data that can be read from the current entry in the archive.
B
- BIGNUMBER_ERROR - Static variable in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
Fail if a big number (e.g. size > 8GiB) is required in the archive.
- BIGNUMBER_POSIX - Static variable in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
POSIX/PAX extensions are used to store big numbers in the archive.
- BIGNUMBER_STAR - Static variable in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
star/GNU tar/BSD tar extensions are used to store big number in the archive.
- buffer - Variable in class com.github.burrunan.s3cache.internal.tar.TarInputStream
- buffer - Variable in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
C
- canEncode(String) - Method in interface com.github.burrunan.s3cache.internal.zip.ZipEncoding
-
Check, whether the given string may be losslessly encoded using this encoding.
- canReadEntryData(TarEntry) - Method in class com.github.burrunan.s3cache.internal.tar.TarInputStream
-
Whether this class is able to read the given entry.
- CHKSUMLEN - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The length of the checksum field in a header buffer.
- close() - Method in class com.github.burrunan.s3cache.internal.tar.TarBuffer
-
Close the TarBuffer.
- close() - Method in class com.github.burrunan.s3cache.internal.tar.TarInputStream
-
Closes this stream.
- close() - Method in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
Ends the TAR archive and closes the underlying OutputStream.
- closeEntry() - Method in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
Close an entry.
- com.github.burrunan.s3cache.internal.tar - package com.github.burrunan.s3cache.internal.tar
- com.github.burrunan.s3cache.internal.zip - package com.github.burrunan.s3cache.internal.zip
- computeCheckSum(byte[]) - Static method in class com.github.burrunan.s3cache.internal.tar.TarUtils
-
Compute the checksum of a tar entry header.
- copyEntryContents(OutputStream) - Method in class com.github.burrunan.s3cache.internal.tar.TarInputStream
-
Copies the contents of the current tar archive entry directly into an output stream.
- CTIMELEN_GNU - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The length of the created time field in an old GNU header buffer.
- currBytes - Variable in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
- currEntry - Variable in class com.github.burrunan.s3cache.internal.tar.TarInputStream
- currName - Variable in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
- currSize - Variable in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
D
- debug - Variable in class com.github.burrunan.s3cache.internal.tar.TarInputStream
- debug - Variable in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
- decode(byte[]) - Method in interface com.github.burrunan.s3cache.internal.zip.ZipEncoding
- DEFAULT_BLKSIZE - Static variable in class com.github.burrunan.s3cache.internal.tar.TarBuffer
-
Default block size
- DEFAULT_DIR_MODE - Static variable in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Default permissions bits for directories
- DEFAULT_FILE_MODE - Static variable in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Default permissions bits for files
- DEFAULT_RCDSIZE - Static variable in class com.github.burrunan.s3cache.internal.tar.TarBuffer
-
Default record size
- DEVLEN - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The length of each of the device fields (major and minor) in a header buffer.
E
- encode(String) - Method in interface com.github.burrunan.s3cache.internal.zip.ZipEncoding
-
Encode a filename or a comment to a byte array suitable for storing it to a serialized zip entry.
- entryOffset - Variable in class com.github.burrunan.s3cache.internal.tar.TarInputStream
- entrySize - Variable in class com.github.burrunan.s3cache.internal.tar.TarInputStream
- equals(TarEntry) - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Determine if the two entries are equal.
- equals(Object) - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Determine if the two entries are equal.
F
- finish() - Method in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
Ends the TAR archive without closing the underlying OutputStream.
- FORMAT_OLDGNU - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
GNU format as per before tar 1.12.
- FORMAT_POSIX - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
Pure Posix format.
- formatCheckSumOctalBytes(long, byte[], int, int) - Static method in class com.github.burrunan.s3cache.internal.tar.TarUtils
-
Writes an octal value into a buffer.
- formatLongOctalBytes(long, byte[], int, int) - Static method in class com.github.burrunan.s3cache.internal.tar.TarUtils
-
Write an octal long integer into a buffer.
- formatLongOctalOrBinaryBytes(long, byte[], int, int) - Static method in class com.github.burrunan.s3cache.internal.tar.TarUtils
-
Write an long integer into a buffer as an octal string if this will fit, or as a binary number otherwise.
- formatNameBytes(String, byte[], int, int) - Static method in class com.github.burrunan.s3cache.internal.tar.TarUtils
-
Copy a name into a buffer.
- formatNameBytes(String, byte[], int, int, ZipEncoding) - Static method in class com.github.burrunan.s3cache.internal.tar.TarUtils
-
Copy a name into a buffer.
- formatOctalBytes(long, byte[], int, int) - Static method in class com.github.burrunan.s3cache.internal.tar.TarUtils
-
Write an octal integer into a buffer.
- formatUnsignedOctalString(long, byte[], int, int) - Static method in class com.github.burrunan.s3cache.internal.tar.TarUtils
-
Fill buffer with unsigned octal number, padded with leading zeroes.
G
- 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
-
Deprecated.
- 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
-
Deprecated.use #getLongUserId instead as user ids can be bigger than
Integer.MAX_VALUE - 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.
H
- hashCode() - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Hashcodes are based on entry names.
- hasHitEOF - Variable in class com.github.burrunan.s3cache.internal.tar.TarInputStream
I
- 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.
L
- 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.
M
- 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.
N
- NAMELEN - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The length of the name field in a header buffer.
O
- OFFSETLEN_GNU - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The length of the multivolume start offset field in an old GNU header buffer.
- oneBuf - Variable in class com.github.burrunan.s3cache.internal.tar.TarInputStream
-
This contents of this array is not used at all in this class, it is only here to avoid repeated object creation during calls to the no-arg read method.
- oneBuf - Variable in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
P
- PAD2LEN_GNU - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The length of the padding field in an old GNU header buffer.
- parseBoolean(byte[], int) - Static method in class com.github.burrunan.s3cache.internal.tar.TarUtils
-
Parse a boolean byte from a buffer.
- parseName(byte[], int, int) - Static method in class com.github.burrunan.s3cache.internal.tar.TarUtils
-
Parse an entry name from a buffer.
- parseName(byte[], int, int, ZipEncoding) - Static method in class com.github.burrunan.s3cache.internal.tar.TarUtils
-
Parse an entry name from a buffer.
- parseOctal(byte[], int, int) - Static method in class com.github.burrunan.s3cache.internal.tar.TarUtils
-
Parse an octal string from a buffer.
- parseOctalOrBinary(byte[], int, int) - Static method in class com.github.burrunan.s3cache.internal.tar.TarUtils
-
Compute the value contained in a byte buffer.
- parseTarHeader(byte[]) - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Parse an entry's header information from a header buffer.
- parseTarHeader(byte[], ZipEncoding) - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Parse an entry's header information from a header buffer.
- PREFIXLEN - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
Length of the prefix field.
- PURE_MAGICLEN - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The length of the magic field in a header buffer.
- putNextEntry(TarEntry) - Method in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
Put an entry on the output stream.
R
- read() - Method in class com.github.burrunan.s3cache.internal.tar.TarInputStream
-
Reads a byte from the current tar archive entry.
- read(byte[], int, int) - Method in class com.github.burrunan.s3cache.internal.tar.TarInputStream
-
Reads bytes from the current tar archive entry.
- readBuf - Variable in class com.github.burrunan.s3cache.internal.tar.TarInputStream
- readRecord() - Method in class com.github.burrunan.s3cache.internal.tar.TarBuffer
-
Read a record from the input stream and return the data.
- REALSIZELEN_GNU - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The length of the real size field in an old GNU header buffer.
- recordBuf - Variable in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
- reset() - Method in class com.github.burrunan.s3cache.internal.tar.TarInputStream
-
Since we do not support marking just yet, we do nothing.
S
- 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.
T
- 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(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.
- 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(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.
- 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, int) - 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.
- TarInputStream(InputStream, int, String) - 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.
- 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, int) - 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.
- TarOutputStream(OutputStream, int, String) - 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.
- 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
U
- UIDLEN - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The length of the user id field in a header buffer.
- UNAMELEN - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
The length of the user name field in a header buffer.
V
- VERSION_GNU_SPACE - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
- VERSION_GNU_ZERO - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
- VERSION_OFFSET - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
Offset of start of magic field within header record
- VERSION_POSIX - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
- VERSIONLEN - Static variable in interface com.github.burrunan.s3cache.internal.tar.TarConstants
-
Previously this was regarded as part of "magic" field, but it is separate.
W
- write(byte[]) - Method in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
Writes bytes to the current tar archive entry.
- write(byte[], int, int) - Method in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
Writes bytes to the current tar archive entry.
- write(int) - Method in class com.github.burrunan.s3cache.internal.tar.TarOutputStream
-
Writes a byte to the current tar archive entry.
- writeEntryHeader(byte[]) - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Write an entry's header information to a header buffer.
- writeEntryHeader(byte[], ZipEncoding, boolean) - Method in class com.github.burrunan.s3cache.internal.tar.TarEntry
-
Write an entry's header information to a header buffer.
- writeRecord(byte[]) - Method in class com.github.burrunan.s3cache.internal.tar.TarBuffer
-
Write an archive record to the archive.
- writeRecord(byte[], int) - Method in class com.github.burrunan.s3cache.internal.tar.TarBuffer
-
Write an archive record to the archive, where the record may be inside of a larger array buffer.
Z
- ZipEncoding - Interface in com.github.burrunan.s3cache.internal.zip
-
An interface for encoders that do a pretty encoding of ZIP filenames.
- ZipEncodingHelper - Class in com.github.burrunan.s3cache.internal.zip
-
Static helper functions for robustly encoding filenames in zip files.
- ZipEncodingHelper() - Constructor for class com.github.burrunan.s3cache.internal.zip.ZipEncodingHelper
All Classes and Interfaces|All Packages|Constant Field Values
Integer.MAX_VALUE