public class CompressionFormats extends Object
Modifier and Type | Method and Description |
---|---|
static CompressionFormat |
detectFormat(Path path)
Locates the identified compression format for a file
based on the path.
|
static List<String> |
listSupportedFormats()
Lists the names of registered formats.
|
static CompressionFormat |
lookupFormat(String name)
Locates the identified compression format.
|
public static CompressionFormat lookupFormat(String name)
name
- the name of the formatpublic static CompressionFormat detectFormat(Path path)
path
- the path to the file to be identifiedCopyright © 2016 Actian Corporation. All rights reserved.