| Package | Description |
|---|---|
| org.apache.commons.compress.archivers.examples |
Contains example code that is not guaranteed to provide a
stable API across releases of Commons Compress.
|
| Modifier and Type | Field and Description |
|---|---|
static CloseableConsumer |
CloseableConsumer.CLOSING_CONSUMER
Closes the passed in Closeable immediately.
|
static CloseableConsumer |
CloseableConsumer.NULL_CONSUMER
Completely ignores the passed in Closeable.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Archiver.create(String format,
OutputStream target,
File directory,
CloseableConsumer closeableConsumer)
Creates an archive
target using the format format by recursively including all files and directories in directory. |
void |
Archiver.create(String format,
SeekableByteChannel target,
File directory,
CloseableConsumer closeableConsumer)
Creates an archive
target using the format format by recursively including all files and directories in directory. |
void |
Expander.expand(InputStream archive,
File targetDirectory,
CloseableConsumer closeableConsumer)
Expands
archive into targetDirectory. |
void |
Expander.expand(String format,
InputStream archive,
File targetDirectory,
CloseableConsumer closeableConsumer)
Expands
archive into targetDirectory. |
void |
Expander.expand(String format,
SeekableByteChannel archive,
File targetDirectory,
CloseableConsumer closeableConsumer)
Expands
archive into targetDirectory. |
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.