public class DecompressionRegistry extends Object
This class allows to keep track of what classes to use to decompress streams, e.g. JPEG, JPEG2K...
| Constructor and Description |
|---|
DecompressionRegistry() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addReaderClass(String compressionType,
String className)
Registers a reader class for given compression type
|
static Object |
createReader(String compressionType)
Instantiates a reader object for the specified compression type
|
static Class<?> |
getReaderClass(String compressionType)
Retrieves a registered reader class
|
static void |
loadMaps(String xmlFileUrl,
boolean replace)
Loads an xml file containing mappings from types of readers/writers to class
|
public static Object createReader(String compressionType) throws IllegalStateException
compressionType - IllegalStateExceptionpublic static void addReaderClass(String compressionType, String className) throws IllegalStateException
compressionType - className - IllegalStateExceptionpublic static Class<?> getReaderClass(String compressionType)
compressionType - public static void loadMaps(String xmlFileUrl, boolean replace)
xmlFileUrl - replace - Copyright © 2016 VAST Team / Sensia Software LLC. All rights reserved.