| Modifier and Type | Field and Description |
|---|---|
protected static String |
COMPRESSION_LEVEL
Compression-level for the archive file.
|
| Constructor and Description |
|---|
BaseFormat() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.commons.compress.archivers.ArchiveOutputStream |
applyFormatOptions(org.apache.commons.compress.archivers.ArchiveOutputStream s,
Map<String,Object> o)
Apply options to archive output stream
|
protected int |
getCompressionLevel(Map<String,Object> o)
Removes and returns the
COMPRESSION_LEVEL key from the input map
parameter if it exists, or -1 if this key does not exist. |
protected static final String COMPRESSION_LEVEL
protected org.apache.commons.compress.archivers.ArchiveOutputStream applyFormatOptions(org.apache.commons.compress.archivers.ArchiveOutputStream s,
Map<String,Object> o)
throws IOException
s - stream to apply options too - options mapIOExceptionprotected int getCompressionLevel(Map<String,Object> o)
COMPRESSION_LEVEL key from the input map
parameter if it exists, or -1 if this key does not exist.o - options mapIllegalArgumentException - if the COMPRESSION_LEVEL option does not parse to an
Integer.Copyright © 2021 Eclipse JGit Project. All rights reserved.