|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- Class of the objects produced by the factory.public interface IOFactory<T>
Interface for factories producing input or output classes. This is be used to create a extensible plug-in system for reading or writing.
Method Summary | |
---|---|
T |
get(String mimeType)
Returns an object for reading or writing the specified format. |
List<IOCapabilities> |
getCapabilities()
Returns a list of capabilities for all supported formats. |
IOCapabilities |
getCapabilities(String mimeType)
Returns the capabilities for a specific format. |
String[] |
getSupportedFormats()
Returns an array of Strings containing all supported formats. |
boolean |
isFormatSupported(String mimeType)
Returns whether the specified MIME type is supported. |
Method Detail |
---|
T get(String mimeType)
mimeType
- MIME type.
IOCapabilities getCapabilities(String mimeType)
mimeType
- MIME type of the format
List<IOCapabilities> getCapabilities()
String[] getSupportedFormats()
boolean isFormatSupported(String mimeType)
mimeType
- MIME type.
true
if supported, otherwise false
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |