| Modifier and Type | Method and Description |
|---|---|
static CompressionType |
CompressionType.fromString(String compression)
Attempts to return the
CompressionType instance from a possible given string representation. |
CompressionType |
FileType.getCompressionType()
Returns the compression type corresponding to this file extension if any.
|
static CompressionType |
CompressionType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompressionType[] |
CompressionType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Archiver |
ArchiverFactory.createArchiver(ArchiveFormat archiveFormat,
CompressionType compression)
Creates an Archiver for the given archive format that uses compression.
|
static Compressor |
CompressorFactory.createCompressor(CompressionType compression)
Creates a compressor from the given CompressionType.
|
Copyright © 2013-2015. All Rights Reserved.