java.lang.Object
de.grogra.pf.io.FilterBase
de.grogra.imp.io.ImageReader
- All Implemented Interfaces:
Filter
,FilterSource
,ObjectSource
,RegistryContext
,Map
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.grogra.pf.io.FilterSource
FilterSource.MetaDataKey<V>
-
Field Summary
FieldsFields inherited from class de.grogra.pf.io.FilterBase
item, source
Fields inherited from interface de.grogra.pf.io.FilterSource
AUTO_PROGRESS, DESTINATION_FILE, DESTINATION_URL
Fields inherited from interface de.grogra.util.Map
DEFAULT_VALUE, EMPTY_MAP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ImageReader
createImageIOReader
(InputStream in, MimeType mimeType) static FileFactory
Returns the file factory item which is responsible for reading images from streams.Returns the data as an object of a class which is compatible which the flavor.static void
installImageIO
(Registry reg) Methods inherited from class de.grogra.pf.io.FilterBase
get, getFilter, getFlavor, getImpl, getMetaData, getRegistry, getSource, getSystemId, initProgressMonitor, setFlavor, setMetaData, setMetaData, setProgress, setSystemId, toString, toURL
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface de.grogra.pf.io.FilterSource
getFilter, getFlavor, getMetaData, getSystemId, initProgressMonitor, setMetaData, setProgress
Methods inherited from interface de.grogra.pf.registry.RegistryContext
getRegistry
-
Field Details
-
FLAVOR
-
-
Constructor Details
-
ImageReader
-
-
Method Details
-
getFactory
Returns the file factory item which is responsible for reading images from streams. The file factory returns objects of classFixedImageAdapter
.- Parameters:
ctx
- the registry context to search for- Returns:
- the file factory for images in
ctx
-
getObject
Description copied from interface:ObjectSource
Returns the data as an object of a class which is compatible which the flavor.- Specified by:
getObject
in interfaceObjectSource
- Returns:
- the data
- Throws:
IOException
-
createImageIOReader
- Throws:
IOException
-
installImageIO
-