de.grogra.imp.io
public class ImageReader extends FilterBase implements ObjectSource
FilterSource.MetaDataKey<V>| Modifier and Type | Field and Description |
|---|---|
static IOFlavor |
FLAVOR |
item, sourceAUTO_PROGRESS, DESTINATION_FILE, DESTINATION_URLDEFAULT_VALUE, EMPTY_MAP| Constructor and Description |
|---|
ImageReader(FilterItem item,
FilterSource source) |
| Modifier and Type | Method and Description |
|---|---|
static javax.imageio.ImageReader |
createImageIOReader(java.io.InputStream in,
MimeType mimeType) |
static FileFactory |
getFactory(RegistryContext ctx)
Returns the file factory item which is responsible for reading
images from streams.
|
java.lang.Object |
getObject()
Returns the data as an object of a class which is compatible which
the flavor.
|
static void |
installImageIO(Registry reg) |
get, getFilter, getFlavor, getImpl, getMetaData, getRegistry, getSource, getSystemId, initProgressMonitor, setFlavor, setMetaData, setMetaData, setProgress, setSystemId, toString, toURLclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFilter, getFlavor, getMetaData, getSystemId, initProgressMonitor, setMetaData, setProgressgetRegistrypublic static final IOFlavor FLAVOR
public ImageReader(FilterItem item, FilterSource source)
public static javax.imageio.ImageReader createImageIOReader(java.io.InputStream in,
MimeType mimeType)
throws java.io.IOException
java.io.IOExceptionpublic static FileFactory getFactory(RegistryContext ctx)
FixedImageAdapter.ctx - the registry context to search forctxpublic java.lang.Object getObject()
throws java.io.IOException
ObjectSourcegetObject in interface ObjectSourcejava.io.IOExceptionpublic static void installImageIO(Registry reg)