| Modifier and Type | Class and Description |
|---|---|
| private static interface | |
| private static interface |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private <T extends ArchiveEntry> void | expand(final Expander.
May be null to simulate output to dev/null on Linux and NUL on Windows. targetDirectory)
|
| public void | expand(final ArchiveInputStream<?>
the file to expand archive, final File the target directory, may be null to simulate output to dev/null on Linux and NUL on Windows. targetDirectory)Expands |
| public void | expand(final ArchiveInputStream<?>
the file to expand archive, final Path the target directory, may be null to simulate output to dev/null on Linux and NUL on Windows. targetDirectory)Expands |
| public void | |
| public void | expand(final InputStream
the file to expand archive, final File the target directory targetDirectory)
Deprecated
this method leaks resources
Expands archive into targetDirectory.
|
| public void | expand(final InputStream
the file to expand archive, final File the target directory targetDirectory, final CloseableConsumer is informed about the stream wrapped around the passed in stream closeableConsumer)Expands |
| public void | |
| public void | expand(final SevenZFile
the file to expand archive, final File the target directory, may be null to simulate output to dev/null on Linux and NUL on Windows. targetDirectory)Expands |
| public void | expand(final SevenZFile
the file to expand archive, final Path the target directory, may be null to simulate output to dev/null on Linux and NUL on Windows. targetDirectory)Expands |
| public void | expand(final String
the archive format. This uses the same format as accepted by format, final File ArchiveStreamFactory.the file to expand archive, final File the target directory targetDirectory)Expands |
| public void | expand(final String
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)
Deprecated
this method leaks resources
Expands archive into targetDirectory.
|
| public void | expand(final String
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, final CloseableConsumer is informed about the stream wrapped around the passed in stream closeableConsumer)Expands |
| public void | expand(final String
the archive format. This uses the same format as accepted by format, final InputStream ArchiveStreamFactory.the file to expand archive, final Path the target directory targetDirectory, final CloseableConsumer is informed about the stream wrapped around the passed in stream closeableConsumer)Expands |
| public void | expand(final String
the archive format. This uses the same format as accepted by format, final Path ArchiveStreamFactory.the file to expand archive, final Path the target directory targetDirectory)Expands |
| public void | expand(final String
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)
Deprecated
this method leaks resources
Expands archive into targetDirectory.
|
| public void | expand(final String
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, final CloseableConsumer is informed about the stream wrapped around the passed in channel closeableConsumer)Expands |
| public void | expand(final String
the archive format. This uses the same format as accepted by format, final SeekableByteChannel ArchiveStreamFactory.the file to expand archive, final Path the target directory targetDirectory, final CloseableConsumer is informed about the stream wrapped around the passed in channel closeableConsumer)Expands |
| public void | |
| public void | |
| public void | |
| public void | |
| private boolean | |
| private Path |
| Expander | back to summary |
|---|---|
| public Expander() | |
| expand | back to summary |
|---|---|
private <T extends ArchiveEntry> void expand(final Expander.
| |
| expand | back to summary |
|---|---|
| public void expand(final ArchiveInputStream<?> archive, final File targetDirectory) throws IOException Expands
| |
| expand | back to summary |
|---|---|
| public void expand(final ArchiveInputStream<?> archive, final Path targetDirectory) throws IOException Expands
| |
| expand | back to summary |
|---|---|
| public void expand(final File archive, final File targetDirectory) throws IOException, ArchiveException Expands Tries to auto-detect the archive's format.
| |
| expand | back to summary |
|---|---|
| public void expand(final InputStream archive, final File targetDirectory) throws IOException, ArchiveException
Deprecated this method leaks resources Expands Tries to auto-detect the archive's format.
This method creates a wrapper around the archive stream which is never closed and thus leaks resources, please use
| |
| expand | back to summary |
|---|---|
| public void expand(final InputStream archive, final File targetDirectory, final CloseableConsumer closeableConsumer) throws IOException, ArchiveException Expands Tries to auto-detect the archive's format.
This method creates a wrapper around the archive stream and the caller of this method is responsible for closing it - probably at the same time as
closing the stream itself. The caller is informed about the wrapper object via the
| |
| expand | back to summary |
|---|---|
| public void expand(final Path archive, final Path targetDirectory) throws IOException, ArchiveException Expands Tries to auto-detect the archive's format.
| |
| expand | back to summary |
|---|---|
| public void expand(final SevenZFile archive, final File targetDirectory) throws IOException Expands
| |
| expand | back to summary |
|---|---|
| public void expand(final SevenZFile archive, final Path targetDirectory) throws IOException Expands
| |
| expand | back to summary |
|---|---|
| public void expand(final String format, final File archive, final File targetDirectory) throws IOException, ArchiveException Expands
| |
| expand | back to summary |
|---|---|
| public void expand(final String format, final InputStream archive, final File targetDirectory) throws IOException, ArchiveException
Deprecated this method leaks resources Expands
This method creates a wrapper around the archive stream which is never closed and thus leaks resources, please use
| |
| expand | back to summary |
|---|---|
| public void expand(final String format, final InputStream archive, final File targetDirectory, final CloseableConsumer closeableConsumer) throws IOException, ArchiveException Expands
This method creates a wrapper around the archive stream and the caller of this method is responsible for closing it - probably at the same time as
closing the stream itself. The caller is informed about the wrapper object via the
| |
| expand | back to summary |
|---|---|
| public void expand(final String format, final InputStream archive, final Path targetDirectory, final CloseableConsumer closeableConsumer) throws IOException, ArchiveException Expands
This method creates a wrapper around the archive stream and the caller of this method is responsible for closing it - probably at the same time as
closing the stream itself. The caller is informed about the wrapper object via the
| |
| expand | back to summary |
|---|---|
| public void expand(final String format, final Path archive, final Path targetDirectory) throws IOException, ArchiveException Expands
| |
| expand | back to summary |
|---|---|
| public void expand(final String format, final SeekableByteChannel archive, final File targetDirectory) throws IOException, ArchiveException
Deprecated this method leaks resources Expands
This method creates a wrapper around the archive channel which is never closed and thus leaks resources, please use
| |
| expand | back to summary |
|---|---|
| public void expand(final String format, final SeekableByteChannel archive, final File targetDirectory, final CloseableConsumer closeableConsumer) throws IOException, ArchiveException Expands
This method creates a wrapper around the archive channel and the caller of this method is responsible for closing it - probably at the same time as
closing the channel itself. The caller is informed about the wrapper object via the
| |
| expand | back to summary |
|---|---|
| public void expand(final String format, final SeekableByteChannel archive, final Path targetDirectory, final CloseableConsumer closeableConsumer) throws IOException, ArchiveException Expands
This method creates a wrapper around the archive channel and the caller of this method is responsible for closing it - probably at the same time as
closing the channel itself. The caller is informed about the wrapper object via the
| |
| expand | back to summary |
|---|---|
| public void expand(final TarFile archive, final File targetDirectory) throws IOException Expands
| |
| expand | back to summary |
|---|---|
| public void expand(final TarFile archive, final Path targetDirectory) throws IOException Expands
| |
| expand | back to summary |
|---|---|
| public void expand(final ZipFile archive, final File targetDirectory) throws IOException Expands
| |
| expand | back to summary |
|---|---|
| public void expand(final ZipFile archive, final Path targetDirectory) throws IOException Expands
| |
| prefersSeekableByteChannel | back to summary |
|---|---|
| private boolean prefersSeekableByteChannel(final String format) | |
| toPath | back to summary |
|---|---|
| private Path toPath(final File targetDirectory) | |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| accept | back to summary |
|---|---|
| public void accept(T entry, OutputStream out) throws IOException | |
| Modifier and Type | Method and Description |
|---|---|
| public T |
| get | back to summary |
|---|---|
| public T get() throws IOException | |