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, sourceFields inherited from interface de.grogra.pf.io.FilterSource
AUTO_PROGRESS, DESTINATION_FILE, DESTINATION_URLFields inherited from interface de.grogra.util.Map
DEFAULT_VALUE, EMPTY_MAP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ImageReadercreateImageIOReader(InputStream in, MimeType mimeType) static FileFactoryReturns 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 voidinstallImageIO(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, toURLMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.grogra.pf.io.FilterSource
getFilter, getFlavor, getMetaData, getSystemId, initProgressMonitor, setMetaData, setProgressMethods 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:ObjectSourceReturns the data as an object of a class which is compatible which the flavor.- Specified by:
getObjectin interfaceObjectSource- Returns:
- the data
- Throws:
IOException
-
createImageIOReader
- Throws:
IOException
-
installImageIO
-