| org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry org.apache.batik.ext.awt.image.codec.imageio.AbstractImageIORegistryEntry
All known Subclasses: org.apache.batik.ext.awt.image.codec.imageio.ImageIOTIFFRegistryEntry, org.apache.batik.ext.awt.image.codec.imageio.ImageIOJPEGRegistryEntry, org.apache.batik.ext.awt.image.codec.imageio.ImageIOPNGRegistryEntry,
AbstractImageIORegistryEntry | abstract public class AbstractImageIORegistryEntry extends MagicNumberRegistryEntry (Code) | | This is the base class for all ImageIO-based RegistryEntry implementations. They
have a slightly lower priority than the RegistryEntry implementations using the
internal codecs, so these take precedence if they are available.
version: $Id: AbstractImageIORegistryEntry.java 502538 2007-02-02 08:52:56Z dvholten $ |
Method Summary | |
public Filter | handleStream(InputStream inIS, ParsedURL origURL, boolean needRawData) Decode the Stream into a RenderableImage
Parameters: inIS - The input stream that contains the image. Parameters: origURL - The original URL, if any, for documentationpurposes only. |
AbstractImageIORegistryEntry | public AbstractImageIORegistryEntry(String name, String[] exts, String[] mimeTypes, MagicNumber[] magicNumbers)(Code) | | Constructor
Parameters: name - Format Name Parameters: exts - Standard set of extensions Parameters: magicNumbers - array of magic numbers any of which can match. |
AbstractImageIORegistryEntry | public AbstractImageIORegistryEntry(String name, String ext, String mimeType, int offset, byte[] magicNumber)(Code) | | Constructor, simplifies construction of entry when only
one extension and one magic number is required.
Parameters: name - Format Name Parameters: ext - Standard extension Parameters: offset - Offset of magic number Parameters: magicNumber - byte array to match. |
handleStream | public Filter handleStream(InputStream inIS, ParsedURL origURL, boolean needRawData)(Code) | | Decode the Stream into a RenderableImage
Parameters: inIS - The input stream that contains the image. Parameters: origURL - The original URL, if any, for documentationpurposes only. This may be null. Parameters: needRawData - If true the image returned should not haveany default color correction the file may specify applied. |
Fields inherited from org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry | final public static float PRIORITY(Code)(Java Doc)
|
|
|