No API in this release is deprecated for removal.
| Since | Deprecated Item and Description |
|---|---|
Returns: the number of read bytesthis method may yield wrong results for large archives, use | |
Returns: the number of written bytesthis method may yield wrong results for large archives, use #getBytesWritten instead | |
org.
the entry encoding, null uses the archiver default. entryEncoding)1.10 use | |
Returns: the next AR entry.Use | |
Returns: the number of bytes needed to pad the header (0,1,2,3)This method doesn't properly work for multi-byte encodings. And creates corrupt archives. Use | |
Returns: the CpioArchiveEntry just readUse | |
Returns: the next entryUse | |
org.
the archive format. This uses the same format as accepted by format, final OutputStream ArchiveStreamFactory.the stream to write the new archive to. target, final File the directory that contains the files to archive. directory)this method leaks resources | |
org.
the archive format. This uses the same format as accepted by format, final SeekableByteChannel ArchiveStreamFactory.the channel to write the new archive to. target, final File the directory that contains the files to archive. directory)this method leaks resources | |
org.
the file to expand archive, final File the target directory targetDirectory)this method leaks resources | |
org.
the archive format. This uses the same format as accepted by format, final InputStream ArchiveStreamFactory.the file to expand archive, final File the target directory targetDirectory)this method leaks resources | |
org.
the archive format. This uses the same format as accepted by format, final SeekableByteChannel ArchiveStreamFactory.the file to expand archive, final File the target directory targetDirectory)this method leaks resources | |
Returns: Always returns null in the current implementationsince 1.5, not currently implemented | |
Returns: Always returns null.since 1.5, do not use; always returns null | |
Returns: the next entry.Use | |
Returns: the compressed CRCUse | |
Returns: the CRCuse getCrcValue instead. | |
Returns: the NTFS timethe Java time date)Use | |
Returns: the Java timethe NTFS time in 100 nanosecond units ntfsTime)Use | |
org.
the CRC crc)use setCompressedCrcValue instead. | |
org.
the CRC crc)use setCrcValue instead. | |
org.
the file to read. fileName)Use | |
org.
the file to read file, final byte[] optional password if the archive is encrypted - the byte array is supposed to be the UTF16-LE encoded representation of the password. password)Use | |
org.
the file to read file, final char[] optional password if the archive is encrypted password)Use | |
org.
the file to read file, final char[] optional password if the archive is encrypted password, final SevenZFileOptions the options to apply options)Use | |
org.
the file to read file, final SevenZFileOptions the options to apply options)Use | |
org.
the channel to read channel)Use | |
org.
the channel to read channel, final byte[] optional password if the archive is encrypted - the byte array is supposed to be the UTF16-LE encoded representation of the password. password)Use | |
org.
the channel to read channel, final char[] optional password if the archive is encrypted password)Use | |
org.
the channel to read channel, final char[] optional password if the archive is encrypted password, final SevenZFileOptions the options to apply options)Use | |
org.
the channel to read channel, final SevenZFileOptions the options to apply options)Use | |
org.
the channel to read channel, final String name of the archive - only used for error reporting fileName)Use | |
org.
the channel to read channel, final String name of the archive - only used for error reporting fileName, final byte[] optional password if the archive is encrypted - the byte array is supposed to be the UTF16-LE encoded representation of the password. password)Use | |
org.
the channel to read. channel, final String name of the archive - only used for error reporting. fileName, final byte[] optional password if the archive is encrypted. password, final boolean closes the channel on error. closeOnError, final SevenZFileOptions options. options)Use | |
org.
the channel to read channel, final String name of the archive - only used for error reporting fileName, final char[] optional password if the archive is encrypted password)Use | |
org.
the channel to read channel, final String name of the archive - only used for error reporting fileName, final char[] optional password if the archive is encrypted password, final SevenZFileOptions the options to apply options)Use | |
org.
the channel to read channel, final String name of the archive - only used for error reporting fileName, final SevenZFileOptions the options to apply options)Use | |
Returns: configuredSevenZFileOptions.Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
describes the entry archiveEntry) | |
Returns: This entry's group id.use #getLongGroupId instead as group ids can be bigger than | |
Returns: This entry's user id.use #getLongUserId instead as user ids can be bigger than | |
Returns: The next TarEntry in the archive, or null.Use | |
org.
the output stream to use os, final int the block size to use blockSize, final int the record size to use. Must be 512 bytes. recordSize)recordSize must always be 512 bytes. An IllegalArgumentException will be thrown if any other value is used | |
org.
the output stream to use os, final int the block size to use . Must be a multiple of 512 bytes. blockSize, final int the record size to use. Must be 512 bytes. recordSize, final String name of the encoding to use for file names encoding)recordSize must always be 512 bytes. An IllegalArgumentException will be thrown if any other value is used. | |
Returns: The TarBuffer record size.
| |
Returns: sparse headers parsed from sparse mapthe sparse map string consisting of comma-separated values "offset,size[,offset-1,size-1...]" sparseMap)use #parseFromPAX01SparseHeaders instead | |
Returns: map of PAX headers values found inside the current (local or global) PAX headers tar entry.input stream to read keys and values inputStream, final List<TarArchiveStructSparse> used in PAX Format 0.0 & 0.1, as it may appear multiple times, the sparse headers need to be stored in an array, not a map sparseHeaders, final Map<String, String> global PAX headers of the tar archive globalPaxHeaders)use the four-arg version instead | |
org.
the class to register. clazz)Use | |
Returns: the next entry.Use | |
org.
the archive. file)Use | |
org.
the archive. file, final String the encoding to use for file names, use null for the platform's default encoding encoding)Use | |
org.
the archive. file, final String the encoding to use for file names, use null for the platform's default encoding encoding, final boolean whether to use InfoZIP Unicode Extra Fields (if present) to set the file names. useUnicodeExtraFields)Use | |
org.
the archive. file, final String the encoding to use for file names, use null for the platform's default encoding encoding, final boolean whether to use InfoZIP Unicode Extra Fields (if present) to set the file names. useUnicodeExtraFields, final boolean whether to ignore information stored inside the local file header (see the notes in this method's Javadoc) ignoreLocalFileHeader)Use | |
org.
path to the archive. path)Use | |
org.
path to the archive. path, final String the encoding to use for file names, use null for the platform's default encoding encoding)Use | |
org.
path to the archive. path, final String the encoding to use for file names, use null for the platform's default encoding encoding, final boolean whether to use InfoZIP Unicode Extra Fields (if present) to set the file names. useUnicodeExtraFields)Use | |
org.
path to the archive. path, final String the encoding to use for file names, use null for the platform's default encoding encoding, final boolean whether to use InfoZIP Unicode Extra Fields (if present) to set the file names. useUnicodeExtraFields, final boolean whether to ignore information stored inside the local file header (see the notes in this method's Javadoc) ignoreLocalFileHeader)Use | |
org.
the archive. channel)Use | |
org.
the archive. channel, final String the encoding to use for file names, use null for the platform's default encoding encoding)Use | |
org.
the archive. channel, final String description of the archive, used for error messages only. channelDescription, final String the encoding to use for file names, use null for the platform's default encoding encoding, final boolean whether to use InfoZIP Unicode Extra Fields (if present) to set the file names. useUnicodeExtraFields)Use | |
org.
the archive. channel, final String description of the archive, used for error messages only. channelDescription, final String the encoding to use for file names, use null for the platform's default encoding encoding, final boolean whether to use InfoZIP Unicode Extra Fields (if present) to set the file names. useUnicodeExtraFields, final boolean whether to ignore information stored inside the local file header (see the notes in this method's Javadoc) ignoreLocalFileHeader)Use | |
org.
name of the archive. name)Use | |
org.
name of the archive. name, final String the encoding to use for file names, use null for the platform's default encoding encoding)Use | |
Returns: the number of read bytesthis method may yield wrong results for large archives, use #getBytesRead instead | |
org.
if true, decompress until the end of the input; if false, stop after the first stream and leave the input position to point
to the next byte after the stream decompressConcatenated)1.10 use the | |
Returns: name of the corresponding compressed filename of a file fileName) | |
Returns: name of the corresponding uncompressed filename of a file fileName) | |
Returns: true if the file name has a common format suffix, false otherwisename of a file fileName) | |
Returns: name of the corresponding compressed filename of a file fileName) | |
Returns: name of the corresponding uncompressed filename of a file fileName) | |
Returns: true if the file name has a common bzip2 suffix, false otherwisename of a file fileName) | |
Returns: the file name.Use | |
org.
the name of the file without the directory path fileName)Use | |
Returns: name of the corresponding compressed filename of a file fileName) | |
Returns: name of the corresponding uncompressed filename of a file fileName) | |
Returns: true if the file name has a common gzip suffix, false otherwisename of a file fileName) | |
Returns: name of the corresponding compressed filename of a file fileName) | |
Returns: name of the corresponding uncompressed filename of a file fileName) | |
Returns: true if the file name has a common LZMA suffix, false otherwisename of a file fileName) | |
Returns: name of the corresponding compressed filename of a file fileName) | |
Returns: name of the corresponding uncompressed filename of a file fileName) | |
Returns: true if the file name has a common xz suffix, false otherwisename of a file fileName) | |
Returns: true if buffer1 and buffer2 have same contentsthe first buffer buffer1, final byte[] the second buffer buffer2) | |
Returns: the number readthe stream to read from in, final int the number of bytes representing the value length)Unused | |
org.
the output to write to out, final long the value to write value, final int the number of bytes to use to represent the value length)Unused | |
org.
the stream to wrap in, final long the of the stream's content size, final int the expected checksum expectedCrc32)No longer used. | |
org.
replaced by | |
org.
replaced by | |
org.
replaced by | |
org.
replaced by | |
org.
replaced by | |
org.
replaced by | |
org.
The checksum to update checksum, final InputStream The input stream to read. inputStream)Use | |
Returns: the calculated checksum.Use | |
Returns: the base name of file namethe name of the file to obtain the base name of. fileName)No longer used, no replacement. | |
Returns: the extension of file namethe name of the file to obtain the extension of. fileName) | |
org.
Closeable to close, can be null c) | |
org.
The file to read. sourceFile, final OutputStream The output stream to write. outputStream) | |
Returns: the number of bytes copiedthe InputStream to copy input, final OutputStream the target, may be null to simulate output to dev/null on Linux and NUL on Windows output)Use | |
Returns: the number of bytes copiedthe InputStream to copy input, final OutputStream the target, may be null to simulate output to dev/null on Linux and NUL on Windows output, final int the buffer size to use, must be bigger than 0 bufferSize)Use | |
Returns: the number of bytes copiedthe InputStream to copy input, final long maximum amount of bytes to copy len, final OutputStream the target Stream output)Use | |
Returns: the number of bytes copiedthe InputStream to copy input, final long maximum amount of bytes to copy length, final OutputStream the target, may be null to simulate output to dev/null on Linux and NUL on Windows output, final int the buffer size to use, must be bigger than 0 bufferSize)No longer used. | |
Returns: the number of bytes actually readfile to read file, final byte[] buffer to fill array) | |
Returns: the number of bytes actually skippedstream to skip bytes in input, final long the number of bytes to skip numToSkip) | |
Returns: the requested byte arraythe input)InputStream to read from | |
org.
No longer used. | |
Returns: the Date.the NTFS time in 100 nanosecond units. ntfsTime) | |
Returns: the FileTime.the NTFS time in 100-nanosecond units. ntfsTime) | |
org.
the file time to be converted. fileTime) | |
org.
the date to be converted. date) | |
Returns: the NTFS time.the Date. date) | |
Returns: the NTFS time in 100-nanosecond units.the FileTime. fileTime) |