- close() - Method in class org.rauschig.jarchivelib.ArchiveStream
-
- closeQuietly(Closeable) - Static method in class org.rauschig.jarchivelib.IOUtils
-
- compress(File, File) - Method in interface org.rauschig.jarchivelib.Compressor
-
Compresses the given input file to the given destination directory or file.
- CompressionType - Enum in org.rauschig.jarchivelib
-
Denotes a compression algorithm such as gzip or bzip2
- Compressor - Interface in org.rauschig.jarchivelib
-
A compressor facades a specific compression library, allowing for simple compression and decompression of files.
- CompressorFactory - Class in org.rauschig.jarchivelib
-
Factory for creating
Compressor instances by a given compression algorithm.
- copy(InputStream, File) - Static method in class org.rauschig.jarchivelib.IOUtils
-
Copies the content of an InputStream into a destination File.
- copy(InputStream, OutputStream) - Static method in class org.rauschig.jarchivelib.IOUtils
-
Copies the content of a InputStream into an OutputStream.
- copy(InputStream, OutputStream, int) - Static method in class org.rauschig.jarchivelib.IOUtils
-
Copies the entire content of the given InputStream into the given OutputStream.
- create(String, File, File...) - Method in interface org.rauschig.jarchivelib.Archiver
-
Creates an archive from the given source files or directories, and saves it into the given destination.
- createArchiver(File) - Static method in class org.rauschig.jarchivelib.ArchiverFactory
-
Probes the given
File for its file type and creates an
Archiver based on this file type.
- createArchiver(FileType) - Static method in class org.rauschig.jarchivelib.ArchiverFactory
-
Creates an Archiver that handles the given
FileType.
- createArchiver(String, String) - Static method in class org.rauschig.jarchivelib.ArchiverFactory
-
Creates an Archiver for the given archive format that uses compression.
- createArchiver(ArchiveFormat, CompressionType) - Static method in class org.rauschig.jarchivelib.ArchiverFactory
-
Creates an Archiver for the given archive format that uses compression.
- createArchiver(String) - Static method in class org.rauschig.jarchivelib.ArchiverFactory
-
Creates an Archiver for the given archive format.
- createArchiver(ArchiveFormat) - Static method in class org.rauschig.jarchivelib.ArchiverFactory
-
Creates an Archiver for the given archive format.
- createCompressor(File) - Static method in class org.rauschig.jarchivelib.CompressorFactory
-
Probes the given
File for its file type and creates a
Compressor based on this file type.
- createCompressor(FileType) - Static method in class org.rauschig.jarchivelib.CompressorFactory
-
- createCompressor(String) - Static method in class org.rauschig.jarchivelib.CompressorFactory
-
Creates a compressor from the given compression type.
- createCompressor(CompressionType) - Static method in class org.rauschig.jarchivelib.CompressorFactory
-
Creates a compressor from the given CompressionType.
- createNextEntry() - Method in class org.rauschig.jarchivelib.ArchiveStream
-
- get(String) - Static method in class org.rauschig.jarchivelib.FileType
-
Checks the suffix of the given string for an entry in the map.
- get(File) - Static method in class org.rauschig.jarchivelib.FileType
-
Checks the suffix of the given
File for an entry in the map.
- getArchiveFormat() - Method in class org.rauschig.jarchivelib.FileType
-
Returns the archive format corresponding to this file extension if any.
- getCompressionType() - Method in class org.rauschig.jarchivelib.FileType
-
Returns the compression type corresponding to this file extension if any.
- getCurrentEntry() - Method in class org.rauschig.jarchivelib.ArchiveStream
-
- getDefaultFileExtension() - Method in enum org.rauschig.jarchivelib.ArchiveFormat
-
Returns the default file extension for this compression type.
- getDefaultFileExtension() - Method in enum org.rauschig.jarchivelib.CompressionType
-
Returns the default file extension for this compression type.
- getFilenameExtension() - Method in interface org.rauschig.jarchivelib.Archiver
-
Returns the filename extension that indicates the file format this archiver handles.
- getFilenameExtension() - Method in interface org.rauschig.jarchivelib.Compressor
-
Returns the filename extension that indicates the file format this compressor handles.
- getLastModifiedDate() - Method in interface org.rauschig.jarchivelib.ArchiveEntry
-
Returns the last modified date of the entry.
- getName() - Method in interface org.rauschig.jarchivelib.ArchiveEntry
-
The name of the entry in the archive.
- getName() - Method in enum org.rauschig.jarchivelib.ArchiveFormat
-
Returns the name by which the archive format is identified.
- getName() - Method in enum org.rauschig.jarchivelib.CompressionType
-
Returns the name by which the compression algorithm is identified.
- getNextEntry() - Method in class org.rauschig.jarchivelib.ArchiveStream
-
Moves the pointer of the stream to the next
ArchiveEntry and returns it.
- getSize() - Method in interface org.rauschig.jarchivelib.ArchiveEntry
-
The (uncompressed) size of the entry.
- getSuffix() - Method in class org.rauschig.jarchivelib.FileType
-
Returns the file extension suffix (e.g.