Uses of Class
kala.compress.archivers.ArchiveException
-
Packages that use ArchiveException Package Description kala.compress.archivers Provides a unified API and factories for dealing with archives in different formats.kala.compress.archivers.arj Provides stream classes for reading archives using the ARJ format.kala.compress.archivers.dump This package provides stream classes for reading archives using the UNIX DUMP format.kala.compress.archivers.examples 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.archivers Modifier and Type Class Description classStreamingNotSupportedExceptionException thrown by ArchiveStreamFactory if a format is requested/detected that doesn't support streaming.Methods in kala.compress.archivers that throw ArchiveException Modifier and Type Method Description ArchiveInputStream<?>ArchiveStreamFactory.BuiltinArchiver. createArchiveInputStream(java.io.InputStream in, java.nio.charset.Charset charset)<I extends ArchiveInputStream<? extends ArchiveEntry>>
IArchiveStreamFactory. createArchiveInputStream(java.io.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(java.lang.String archiverName, java.io.InputStream in)Creates an archive input stream from an archiver name and an input stream.<I extends ArchiveInputStream<? extends ArchiveEntry>>
IArchiveStreamFactory. createArchiveInputStream(java.lang.String archiverName, java.io.InputStream in, java.nio.charset.Charset actualEncoding)<I extends ArchiveInputStream<? extends ArchiveEntry>>
IArchiveStreamProvider. createArchiveInputStream(java.lang.String archiverName, java.io.InputStream inputStream, java.nio.charset.Charset encoding)Creates an archive input stream from an archiver name and an input stream.ArchiveOutputStream<?>ArchiveStreamFactory.BuiltinArchiver. createArchiveOutputStream(java.io.OutputStream out, java.nio.charset.Charset charset)<O extends ArchiveOutputStream<? extends ArchiveEntry>>
OArchiveStreamFactory. createArchiveOutputStream(java.lang.String archiverName, java.io.OutputStream out)Creates an archive output stream from an archiver name and an output stream.<O extends ArchiveOutputStream<? extends ArchiveEntry>>
OArchiveStreamFactory. createArchiveOutputStream(java.lang.String archiverName, java.io.OutputStream out, java.nio.charset.Charset actualEncoding)<O extends ArchiveOutputStream<? extends ArchiveEntry>>
OArchiveStreamProvider. createArchiveOutputStream(java.lang.String archiverName, java.io.OutputStream outputStream, java.nio.charset.Charset encoding)Creates an archive output stream from an archiver name and an output stream.static java.lang.StringArchiveStreamFactory. detect(java.io.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 ArchiveException Modifier and Type Method Description ArchiveInputStream<?>ArjArchiver. createArchiveInputStream(java.io.InputStream in, java.nio.charset.Charset charset)Constructors in kala.compress.archivers.arj that throw ArchiveException Constructor Description ArjArchiveInputStream(java.io.InputStream inputStream)Constructs the ArjInputStream, taking ownership of the inputStream that is passed in, and using the CP437 character encoding.ArjArchiveInputStream(java.io.InputStream inputStream, java.nio.charset.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 ArchiveException Modifier and Type Method Description ArchiveInputStream<?>DumpArchiver. createArchiveInputStream(java.io.InputStream in, java.nio.charset.Charset charset)Constructors in kala.compress.archivers.dump that throw ArchiveException Constructor Description DumpArchiveInputStream(java.io.InputStream is)Constructor using the UTF-8 for file names.DumpArchiveInputStream(java.io.InputStream is, java.nio.charset.Charset encoding)Constructs a new instance. -
Uses of ArchiveException in kala.compress.archivers.examples
Methods in kala.compress.archivers.examples that throw ArchiveException Modifier and Type Method Description voidArchiver. create(java.lang.String format, java.io.File target, java.io.File directory)Creates an archivetargetusing the formatformatby recursively including all files and directories indirectory.voidArchiver. create(java.lang.String format, java.io.OutputStream target, java.io.File directory)Deprecated.this method leaks resourcesvoidArchiver. create(java.lang.String format, java.io.OutputStream target, java.io.File directory, CloseableConsumer closeableConsumer)Creates an archivetargetusing the formatformatby recursively including all files and directories indirectory.voidArchiver. create(java.lang.String format, java.nio.channels.SeekableByteChannel target, java.io.File directory)Deprecated.this method leaks resourcesvoidArchiver. create(java.lang.String format, java.nio.channels.SeekableByteChannel target, java.io.File directory, CloseableConsumer closeableConsumer)Creates an archivetargetusing the formatformatby recursively including all files and directories indirectory.voidArchiver. create(java.lang.String format, java.nio.file.Path target, java.nio.file.Path directory)Creates an archivetargetusing the formatformatby recursively including all files and directories indirectory.private static <T extends ArchiveInputStream<? extends E>,E extends ArchiveEntry>
TLister. createArchiveInputStream(java.lang.String[] args, java.io.InputStream inputStream)voidExpander. expand(java.io.File archive, java.io.File targetDirectory)ExpandsarchiveintotargetDirectory.voidExpander. expand(java.io.InputStream archive, java.io.File targetDirectory)Deprecated.this method leaks resourcesvoidExpander. expand(java.io.InputStream archive, java.io.File targetDirectory, CloseableConsumer closeableConsumer)ExpandsarchiveintotargetDirectory.voidExpander. expand(java.lang.String format, java.io.File archive, java.io.File targetDirectory)ExpandsarchiveintotargetDirectory.voidExpander. expand(java.lang.String format, java.io.InputStream archive, java.io.File targetDirectory)Deprecated.this method leaks resourcesvoidExpander. expand(java.lang.String format, java.io.InputStream archive, java.io.File targetDirectory, CloseableConsumer closeableConsumer)ExpandsarchiveintotargetDirectory.voidExpander. expand(java.lang.String format, java.io.InputStream archive, java.nio.file.Path targetDirectory, CloseableConsumer closeableConsumer)ExpandsarchiveintotargetDirectory.voidExpander. expand(java.lang.String format, java.nio.channels.SeekableByteChannel archive, java.io.File targetDirectory)Deprecated.this method leaks resourcesvoidExpander. expand(java.lang.String format, java.nio.channels.SeekableByteChannel archive, java.io.File targetDirectory, CloseableConsumer closeableConsumer)ExpandsarchiveintotargetDirectory.voidExpander. expand(java.lang.String format, java.nio.channels.SeekableByteChannel archive, java.nio.file.Path targetDirectory, CloseableConsumer closeableConsumer)ExpandsarchiveintotargetDirectory.voidExpander. expand(java.lang.String format, java.nio.file.Path archive, java.nio.file.Path targetDirectory)ExpandsarchiveintotargetDirectory.voidExpander. expand(java.nio.file.Path archive, java.nio.file.Path targetDirectory)ExpandsarchiveintotargetDirectory.(package private) voidLister. go()private voidLister. list(java.nio.file.Path file, java.lang.String... args)private voidLister. listStream(java.nio.file.Path file, java.lang.String[] args)static voidLister. main(java.lang.String... args)Runs this class from the command line.
-