| Modifier and Type | Method and Description |
|---|---|
static ArchiveFormat |
ArchiveFormat.fromString(java.lang.String archiveFormat)
Attempts to return the
ArchiveFormat instance from a possible given string representation. |
ArchiveFormat |
FileType.getArchiveFormat()
Returns the archive format corresponding to this file extension if any.
|
static ArchiveFormat |
ArchiveFormat.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ArchiveFormat[] |
ArchiveFormat.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)
Creates an Archiver for the given archive format.
|
static Archiver |
ArchiverFactory.createArchiver(ArchiveFormat archiveFormat,
CompressionType compression)
Creates an Archiver for the given archive format that uses compression.
|
Copyright © 2013-2018. All Rights Reserved.