| java.lang.Object javax.imageio.ImageReader com.sun.media.imageioimpl.plugins.jpeg2000.J2KImageReaderCodecLib
Method Summary | |
public boolean | getAbortRequest() This method wraps the protected method abortRequested
to allow the abortions be monitored by J2KReadState . | public ImageReadParam | getDefaultReadParam() | public int | getHeight(int imageIndex) | public IIOMetadata | getImageMetadata(int imageIndex) | public Iterator | getImageTypes(int imageIndex) | public int | getNumImages(boolean allowSearch) | public IIOMetadata | getStreamMetadata() | public int | getTileGridXOffset(int imageIndex) | public int | getTileGridYOffset(int imageIndex) | public int | getTileHeight(int imageIndex) | public int | getTileWidth(int imageIndex) | public int | getWidth(int imageIndex) | public boolean | isImageTiled(int imageIndex) Returns true if the image is organized into
tiles, that is, equal-sized non-overlapping rectangles.
A reader plug-in may choose whether or not to expose tiling
that is present in the image as it is stored. | public boolean | isRandomAccessEasy(int imageIndex) | public void | processImageProgressWrapper(float percentageDone) Wrapper for the protected method processImageProgress
So it can be access from the classes which are not in
ImageReader hierachy. | public void | processImageUpdateWrapper(BufferedImage theImage, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands) Wrapper for the protected method processImageUpdate
So it can be access from the classes which are not in
ImageReader hierachy. | public BufferedImage | read(int imageIndex, ImageReadParam param) | public RenderedImage | readAsRenderedImage(int imageIndex, ImageReadParam param) | public void | readHeader() | public Raster | readRaster(int imageIndex, ImageReadParam param) | public void | reset() | public void | setInput(Object input, boolean seekForwardOnly, boolean ignoreMetadata) Overrides the method defined in the superclass. |
getAbortRequest | public boolean getAbortRequest()(Code) | | This method wraps the protected method abortRequested
to allow the abortions be monitored by J2KReadState .
|
getTileGridXOffset | public int getTileGridXOffset(int imageIndex) throws IOException(Code) | | |
getTileGridYOffset | public int getTileGridYOffset(int imageIndex) throws IOException(Code) | | |
isImageTiled | public boolean isImageTiled(int imageIndex) throws IOException(Code) | | Returns true if the image is organized into
tiles, that is, equal-sized non-overlapping rectangles.
A reader plug-in may choose whether or not to expose tiling
that is present in the image as it is stored. It may even
choose to advertise tiling when none is explicitly present. In
general, tiling should only be advertised if there is some
advantage (in speed or space) to accessing individual tiles.
Regardless of whether the reader advertises tiling, it must be
capable of reading an arbitrary rectangular region specified in
an ImageReadParam .
A reader for which all images are guaranteed to be tiled,
or are guaranteed not to be tiled, may return true
or false respectively without accessing any image
data. In such cases, it is not necessary to throw an exception
even if no input source has been set or the image index is out
of bounds.
The default implementation just returns false .
Parameters: imageIndex - the index of the image to be queried. true if the image is tiled. exception: IllegalStateException - if an input source is requiredto determine the return value, but none has been set. exception: IndexOutOfBoundsException - if an image must beaccessed to determine the return value, but the supplied indexis out of bounds. exception: IOException - if an error occurs during reading. |
isRandomAccessEasy | public boolean isRandomAccessEasy(int imageIndex) throws IOException(Code) | | |
processImageProgressWrapper | public void processImageProgressWrapper(float percentageDone)(Code) | | Wrapper for the protected method processImageProgress
So it can be access from the classes which are not in
ImageReader hierachy.
|
processImageUpdateWrapper | public void processImageUpdateWrapper(BufferedImage theImage, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands)(Code) | | Wrapper for the protected method processImageUpdate
So it can be access from the classes which are not in
ImageReader hierachy.
|
reset | public void reset()(Code) | | |
setInput | public void setInput(Object input, boolean seekForwardOnly, boolean ignoreMetadata)(Code) | | Overrides the method defined in the superclass.
|
Methods inherited from javax.imageio.ImageReader | public synchronized void abort()(Code)(Java Doc) protected synchronized boolean abortRequested()(Code)(Java Doc) public void addIIOReadProgressListener(IIOReadProgressListener listener)(Code)(Java Doc) public void addIIOReadUpdateListener(IIOReadUpdateListener listener)(Code)(Java Doc) public void addIIOReadWarningListener(IIOReadWarningListener listener)(Code)(Java Doc) public boolean canReadRaster()(Code)(Java Doc) protected static void checkReadParamBandSettings(ImageReadParam param, int numSrcBands, int numDstBands)(Code)(Java Doc) protected synchronized void clearAbortRequest()(Code)(Java Doc) protected static void computeRegions(ImageReadParam param, int srcWidth, int srcHeight, BufferedImage image, Rectangle srcRegion, Rectangle destRegion)(Code)(Java Doc) public void dispose()(Code)(Java Doc) public float getAspectRatio(int imageIndex) throws IOException(Code)(Java Doc) public Locale[] getAvailableLocales()(Code)(Java Doc) public ImageReadParam getDefaultReadParam()(Code)(Java Doc) protected static BufferedImage getDestination(ImageReadParam param, Iterator<ImageTypeSpecifier> imageTypes, int width, int height) throws IIOException(Code)(Java Doc) public String getFormatName() throws IOException(Code)(Java Doc) abstract public int getHeight(int imageIndex) throws IOException(Code)(Java Doc) abstract public IIOMetadata getImageMetadata(int imageIndex) throws IOException(Code)(Java Doc) public IIOMetadata getImageMetadata(int imageIndex, String formatName, Set<String> nodeNames) throws IOException(Code)(Java Doc) abstract public Iterator<ImageTypeSpecifier> getImageTypes(int imageIndex) throws IOException(Code)(Java Doc) public Object getInput()(Code)(Java Doc) public Locale getLocale()(Code)(Java Doc) public int getMinIndex()(Code)(Java Doc) abstract public int getNumImages(boolean allowSearch) throws IOException(Code)(Java Doc) public int getNumThumbnails(int imageIndex) throws IOException(Code)(Java Doc) public ImageReaderSpi getOriginatingProvider()(Code)(Java Doc) public ImageTypeSpecifier getRawImageType(int imageIndex) throws IOException(Code)(Java Doc) protected static Rectangle getSourceRegion(ImageReadParam param, int srcWidth, int srcHeight)(Code)(Java Doc) abstract public IIOMetadata getStreamMetadata() throws IOException(Code)(Java Doc) public IIOMetadata getStreamMetadata(String formatName, Set<String> nodeNames) throws IOException(Code)(Java Doc) public int getThumbnailHeight(int imageIndex, int thumbnailIndex) throws IOException(Code)(Java Doc) public int getThumbnailWidth(int imageIndex, int thumbnailIndex) throws IOException(Code)(Java Doc) public int getTileGridXOffset(int imageIndex) throws IOException(Code)(Java Doc) public int getTileGridYOffset(int imageIndex) throws IOException(Code)(Java Doc) public int getTileHeight(int imageIndex) throws IOException(Code)(Java Doc) public int getTileWidth(int imageIndex) throws IOException(Code)(Java Doc) abstract public int getWidth(int imageIndex) throws IOException(Code)(Java Doc) public boolean hasThumbnails(int imageIndex) throws IOException(Code)(Java Doc) public boolean isIgnoringMetadata()(Code)(Java Doc) public boolean isImageTiled(int imageIndex) throws IOException(Code)(Java Doc) public boolean isRandomAccessEasy(int imageIndex) throws IOException(Code)(Java Doc) public boolean isSeekForwardOnly()(Code)(Java Doc) protected void processImageComplete()(Code)(Java Doc) protected void processImageProgress(float percentageDone)(Code)(Java Doc) protected void processImageStarted(int imageIndex)(Code)(Java Doc) protected void processImageUpdate(BufferedImage theImage, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands)(Code)(Java Doc) protected void processPassComplete(BufferedImage theImage)(Code)(Java Doc) protected void processPassStarted(BufferedImage theImage, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands)(Code)(Java Doc) protected void processReadAborted()(Code)(Java Doc) protected void processSequenceComplete()(Code)(Java Doc) protected void processSequenceStarted(int minIndex)(Code)(Java Doc) protected void processThumbnailComplete()(Code)(Java Doc) protected void processThumbnailPassComplete(BufferedImage theThumbnail)(Code)(Java Doc) protected void processThumbnailPassStarted(BufferedImage theThumbnail, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands)(Code)(Java Doc) protected void processThumbnailProgress(float percentageDone)(Code)(Java Doc) protected void processThumbnailStarted(int imageIndex, int thumbnailIndex)(Code)(Java Doc) protected void processThumbnailUpdate(BufferedImage theThumbnail, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands)(Code)(Java Doc) protected void processWarningOccurred(String warning)(Code)(Java Doc) protected void processWarningOccurred(String baseName, String keyword)(Code)(Java Doc) public BufferedImage read(int imageIndex) throws IOException(Code)(Java Doc) abstract public BufferedImage read(int imageIndex, ImageReadParam param) throws IOException(Code)(Java Doc) public IIOImage readAll(int imageIndex, ImageReadParam param) throws IOException(Code)(Java Doc) public Iterator<IIOImage> readAll(Iterator<? extends ImageReadParam> params) throws IOException(Code)(Java Doc) public RenderedImage readAsRenderedImage(int imageIndex, ImageReadParam param) throws IOException(Code)(Java Doc) public Raster readRaster(int imageIndex, ImageReadParam param) throws IOException(Code)(Java Doc) public BufferedImage readThumbnail(int imageIndex, int thumbnailIndex) throws IOException(Code)(Java Doc) public BufferedImage readTile(int imageIndex, int tileX, int tileY) throws IOException(Code)(Java Doc) public Raster readTileRaster(int imageIndex, int tileX, int tileY) throws IOException(Code)(Java Doc) public boolean readerSupportsThumbnails()(Code)(Java Doc) public void removeAllIIOReadProgressListeners()(Code)(Java Doc) public void removeAllIIOReadUpdateListeners()(Code)(Java Doc) public void removeAllIIOReadWarningListeners()(Code)(Java Doc) public void removeIIOReadProgressListener(IIOReadProgressListener listener)(Code)(Java Doc) public void removeIIOReadUpdateListener(IIOReadUpdateListener listener)(Code)(Java Doc) public void removeIIOReadWarningListener(IIOReadWarningListener listener)(Code)(Java Doc) public void reset()(Code)(Java Doc) public void setInput(Object input, boolean seekForwardOnly, boolean ignoreMetadata)(Code)(Java Doc) public void setInput(Object input, boolean seekForwardOnly)(Code)(Java Doc) public void setInput(Object input)(Code)(Java Doc) public void setLocale(Locale locale)(Code)(Java Doc)
|
|
|