Uses of Class
kala.compress.archivers.ArchiveException
Packages that use ArchiveException
Package
Description
Provides a unified API and factories for dealing with archives in different formats.
Provides stream classes for reading archives using the ARJ format.
This package provides stream classes for reading archives using the UNIX DUMP format.
Contains example code that is not guaranteed to provide a stable API across releases of Commons Compress.
-
Uses of ArchiveException in kala.compress.archivers
Subclasses of ArchiveException in kala.compress.archiversModifier and TypeClassDescriptionclassException thrown by ArchiveStreamFactory if a format is requested/detected that doesn't support streaming.Methods in kala.compress.archivers that throw ArchiveExceptionModifier and TypeMethodDescriptionArchiveStreamFactory.BuiltinArchiver.createArchiveInputStream(InputStream in, Charset charset) <I extends ArchiveInputStream<? extends ArchiveEntry>>
IArchiveStreamFactory.createArchiveInputStream(InputStream in) Creates an archive input stream from an input stream, autodetecting the archive type from the first few bytes of the stream.<I extends ArchiveInputStream<? extends ArchiveEntry>>
IArchiveStreamFactory.createArchiveInputStream(String archiverName, InputStream in) Creates an archive input stream from an archiver name and an input stream.<I extends ArchiveInputStream<? extends ArchiveEntry>>
IArchiveStreamFactory.createArchiveInputStream(String archiverName, InputStream in, Charset actualEncoding) <I extends ArchiveInputStream<? extends ArchiveEntry>>
IArchiveStreamProvider.createArchiveInputStream(String archiverName, InputStream inputStream, Charset encoding) Creates an archive input stream from an archiver name and an input stream.ArchiveStreamFactory.BuiltinArchiver.createArchiveOutputStream(OutputStream out, Charset charset) <O extends ArchiveOutputStream<? extends ArchiveEntry>>
OArchiveStreamFactory.createArchiveOutputStream(String archiverName, OutputStream out) Creates an archive output stream from an archiver name and an output stream.<O extends ArchiveOutputStream<? extends ArchiveEntry>>
OArchiveStreamFactory.createArchiveOutputStream(String archiverName, OutputStream out, Charset actualEncoding) <O extends ArchiveOutputStream<? extends ArchiveEntry>>
OArchiveStreamProvider.createArchiveOutputStream(String archiverName, OutputStream outputStream, Charset encoding) Creates an archive output stream from an archiver name and an output stream.static StringArchiveStreamFactory.detect(InputStream in) Try to determine the type of Archiver -
Uses of ArchiveException in kala.compress.archivers.arj
Methods in kala.compress.archivers.arj that throw ArchiveExceptionModifier and TypeMethodDescriptionArjArchiver.createArchiveInputStream(InputStream in, Charset charset) Constructors in kala.compress.archivers.arj that throw ArchiveExceptionModifierConstructorDescriptionArjArchiveInputStream(InputStream inputStream) Constructs the ArjInputStream, taking ownership of the inputStream that is passed in, and using the CP437 character encoding.ArjArchiveInputStream(InputStream inputStream, Charset charset) Constructs the ArjInputStream, taking ownership of the inputStream that is passed in. -
Uses of ArchiveException in kala.compress.archivers.dump
Methods in kala.compress.archivers.dump that throw ArchiveExceptionModifier and TypeMethodDescriptionDumpArchiver.createArchiveInputStream(InputStream in, Charset charset) Constructors in kala.compress.archivers.dump that throw ArchiveExceptionModifierConstructorDescriptionConstructor using the UTF-8 for file names.DumpArchiveInputStream(InputStream is, Charset encoding) Constructs a new instance. -
Uses of ArchiveException in kala.compress.archivers.examples
Methods in kala.compress.archivers.examples that throw ArchiveExceptionModifier and TypeMethodDescriptionvoidCreates an archivetargetusing the formatformatby recursively including all files and directories indirectory.voidArchiver.create(String format, OutputStream target, File directory) Deprecated.this method leaks resourcesvoidArchiver.create(String format, OutputStream target, File directory, CloseableConsumer closeableConsumer) Creates an archivetargetusing the formatformatby recursively including all files and directories indirectory.voidArchiver.create(String format, SeekableByteChannel target, File directory) Deprecated.this method leaks resourcesvoidArchiver.create(String format, SeekableByteChannel target, File directory, CloseableConsumer closeableConsumer) Creates an archivetargetusing the formatformatby recursively including all files and directories indirectory.voidCreates an archivetargetusing the formatformatby recursively including all files and directories indirectory.private static <T extends ArchiveInputStream<? extends E>,E extends ArchiveEntry>
TLister.createArchiveInputStream(String[] args, InputStream inputStream) voidExpandsarchiveintotargetDirectory.voidExpander.expand(InputStream archive, File targetDirectory) Deprecated.this method leaks resourcesvoidExpander.expand(InputStream archive, File targetDirectory, CloseableConsumer closeableConsumer) ExpandsarchiveintotargetDirectory.voidExpandsarchiveintotargetDirectory.voidExpander.expand(String format, InputStream archive, File targetDirectory) Deprecated.this method leaks resourcesvoidExpander.expand(String format, InputStream archive, File targetDirectory, CloseableConsumer closeableConsumer) ExpandsarchiveintotargetDirectory.voidExpander.expand(String format, InputStream archive, Path targetDirectory, CloseableConsumer closeableConsumer) ExpandsarchiveintotargetDirectory.voidExpander.expand(String format, SeekableByteChannel archive, File targetDirectory) Deprecated.this method leaks resourcesvoidExpander.expand(String format, SeekableByteChannel archive, File targetDirectory, CloseableConsumer closeableConsumer) ExpandsarchiveintotargetDirectory.voidExpander.expand(String format, SeekableByteChannel archive, Path targetDirectory, CloseableConsumer closeableConsumer) ExpandsarchiveintotargetDirectory.voidExpandsarchiveintotargetDirectory.voidExpandsarchiveintotargetDirectory.(package private) voidLister.go()private voidprivate voidLister.listStream(Path file, String[] args) static voidRuns this class from the command line.