|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.erichseifert.gral.io.AbstractIOFactory<T>
T
- The type of objects which should be produced by this factorypublic abstract class AbstractIOFactory<T>
Abstract implementation of IOFactory
which provides basic functionality.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.erichseifert.gral.io.IOFactory |
---|
get |
Method Detail |
---|
public IOCapabilities getCapabilities(String mimeType)
IOFactory
getCapabilities
in interface IOFactory<T>
mimeType
- MIME type of the format
public List<IOCapabilities> getCapabilities()
IOFactory
getCapabilities
in interface IOFactory<T>
public String[] getSupportedFormats()
IOFactory
getSupportedFormats
in interface IOFactory<T>
public boolean isFormatSupported(String mimeType)
IOFactory
isFormatSupported
in interface IOFactory<T>
mimeType
- MIME type.
true
if supported, otherwise false
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |