T
- Class of the objects produced by the factory.public interface IOFactory<T>
Modifier and Type | Method and Description |
---|---|
T |
get(java.lang.String mimeType)
Returns an object for reading or writing the specified format.
|
java.util.List<IOCapabilities> |
getCapabilities()
Returns a list of capabilities for all supported formats.
|
IOCapabilities |
getCapabilities(java.lang.String mimeType)
Returns the capabilities for a specific format.
|
java.lang.String[] |
getSupportedFormats()
Returns an array of Strings containing all supported formats.
|
boolean |
isFormatSupported(java.lang.String mimeType)
Returns whether the specified MIME type is supported.
|
T get(java.lang.String mimeType)
mimeType
- MIME type.IOCapabilities getCapabilities(java.lang.String mimeType)
mimeType
- MIME type of the formatjava.util.List<IOCapabilities> getCapabilities()
java.lang.String[] getSupportedFormats()
boolean isFormatSupported(java.lang.String mimeType)
mimeType
- MIME type.true
if supported, otherwise false
.