javax > javax.imageio > javax.imageio.imagereader >

Class: javax.imageio.ImageReader
    java.lang.Object
       javax.imageio.ImageReader


public abstract class ImageReader extends Object


FIELDS:
protected Locale[] availableLocales
protected boolean ignoreMetadata
protected Object input
protected Locale locale
protected int minIndex
protected ImageReaderSpi originatingProvider
protected List progressListeners
protected boolean seekForwardOnly
protected List updateListeners
protected List warningListeners
protected List warningLocales

CONSTRUCTORS:
protected ImageReader(ImageReaderSpi originatingProvider)


METHODS:
public void abort()

protected boolean abortRequested()

public void addIIOReadProgressListener(IIOReadProgressListener listener)

public void addIIOReadUpdateListener(IIOReadUpdateListener listener)

public void addIIOReadWarningListener(IIOReadWarningListener listener)

public boolean canReadRaster()

protected static void checkReadParamBandSettings(ImageReadParam param, int numSrcBands, int numDstBands)
Throws: IllegalArgumentException

protected void clearAbortRequest()

protected static void computeRegions(ImageReadParam param, int srcWidth, int srcHeight, BufferedImage image, Rectangle srcRegion, Rectangle destRegion)
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IllegalArgumentException

public void dispose()

public float getAspectRatio(int imageIndex)
Throws: IllegalStateException
Throws: IndexOutOfBoundsException
Throws: IOException

public Locale[] getAvailableLocales()

public ImageReadParam getDefaultReadParam()

protected static BufferedImage getDestination(ImageReadParam param, Iterator imageTypes, int width, int height)
Throws: IIOException
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IllegalArgumentException

public String getFormatName()
Throws: IOException

public abstract int getHeight(int imageIndex)
Throws: IllegalStateException
Throws: IndexOutOfBoundsException
Throws: IOException

public abstract IIOMetadata getImageMetadata(int imageIndex)
Throws: IllegalStateException
Throws: IndexOutOfBoundsException
Throws: IOException

public IIOMetadata getImageMetadata(int imageIndex, String formatName, Set nodeNames)
Throws: IllegalStateException
Throws: IndexOutOfBoundsException
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IOException

public abstract Iterator getImageTypes(int imageIndex)
Throws: IllegalStateException
Throws: IndexOutOfBoundsException
Throws: IOException

public Object getInput()

public Locale getLocale()

public int getMinIndex()

public abstract int getNumImages(boolean allowSearch)
Throws: IllegalStateException
Throws: IOException

public int getNumThumbnails(int imageIndex)
Throws: IllegalStateException
Throws: IndexOutOfBoundsException
Throws: IOException

public ImageReaderSpi getOriginatingProvider()

public ImageTypeSpecifier getRawImageType(int imageIndex)
Throws: IllegalStateException
Throws: IndexOutOfBoundsException
Throws: IOException

protected static Rectangle getSourceRegion(ImageReadParam param, int srcWidth, int srcHeight)

public abstract IIOMetadata getStreamMetadata()
Throws: IOException

public IIOMetadata getStreamMetadata(String formatName, Set nodeNames)
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IOException

public int getThumbnailHeight(int imageIndex, int thumbnailIndex)
Throws: UnsupportedOperationException
Throws: IllegalStateException
Throws: IndexOutOfBoundsException
Throws: IOException

public int getThumbnailWidth(int imageIndex, int thumbnailIndex)
Throws: UnsupportedOperationException
Throws: IllegalStateException
Throws: IndexOutOfBoundsException
Throws: IOException

public int getTileGridXOffset(int imageIndex)
Throws: IllegalStateException
Throws: IndexOutOfBoundsException
Throws: IOException

public int getTileGridYOffset(int imageIndex)
Throws: IllegalStateException
Throws: IndexOutOfBoundsException
Throws: IOException

public int getTileHeight(int imageIndex)
Throws: IllegalStateException
Throws: IndexOutOfBoundsException
Throws: IOException

public int getTileWidth(int imageIndex)
Throws: IllegalStateException
Throws: IndexOutOfBoundsException
Throws: IOException

public abstract int getWidth(int imageIndex)
Throws: IllegalStateException
Throws: IndexOutOfBoundsException
Throws: IOException

public boolean hasThumbnails(int imageIndex)
Throws: IllegalStateException
Throws: IndexOutOfBoundsException
Throws: IOException

public boolean isIgnoringMetadata()

public boolean isImageTiled(int imageIndex)
Throws: IllegalStateException
Throws: IndexOutOfBoundsException
Throws: IOException

public boolean isRandomAccessEasy(int imageIndex)
Throws: IllegalStateException
Throws: IndexOutOfBoundsException
Throws: IOException

public boolean isSeekForwardOnly()

protected void processImageComplete()

protected void processImageProgress(float percentageDone)

protected void processImageStarted(int imageIndex)

protected void processImageUpdate(BufferedImage theImage, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands)

protected void processPassComplete(BufferedImage theImage)

protected void processPassStarted(BufferedImage theImage, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands)

protected void processReadAborted()

protected void processSequenceComplete()

protected void processSequenceStarted(int minIndex)

protected void processThumbnailComplete()

protected void processThumbnailPassComplete(BufferedImage theThumbnail)

protected void processThumbnailPassStarted(BufferedImage theThumbnail, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands)

protected void processThumbnailProgress(float percentageDone)

protected void processThumbnailStarted(int imageIndex, int thumbnailIndex)

protected void processThumbnailUpdate(BufferedImage theThumbnail, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands)

protected void processWarningOccurred(String warning)
Throws: IllegalArgumentException

protected void processWarningOccurred(String baseName, String keyword)
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IllegalArgumentException

public BufferedImage read(int imageIndex)
Throws: IllegalStateException
Throws: IndexOutOfBoundsException
Throws: IOException

public abstract BufferedImage read(int imageIndex, ImageReadParam param)
Throws: IllegalStateException
Throws: IndexOutOfBoundsException
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IOException

public IIOImage readAll(int imageIndex, ImageReadParam param)
Throws: IllegalStateException
Throws: IndexOutOfBoundsException
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IOException

public Iterator readAll(Iterator params)
Throws: IllegalStateException
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IOException

public RenderedImage readAsRenderedImage(int imageIndex, ImageReadParam param)
Throws: IllegalStateException
Throws: IndexOutOfBoundsException
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IOException

public Raster readRaster(int imageIndex, ImageReadParam param)
Throws: UnsupportedOperationException
Throws: IllegalStateException
Throws: IndexOutOfBoundsException
Throws: IOException

public BufferedImage readThumbnail(int imageIndex, int thumbnailIndex)
Throws: UnsupportedOperationException
Throws: IllegalStateException
Throws: IndexOutOfBoundsException
Throws: IOException

public BufferedImage readTile(int imageIndex, int tileX, int tileY)
Throws: IllegalStateException
Throws: IndexOutOfBoundsException
Throws: IllegalArgumentException
Throws: IOException

public Raster readTileRaster(int imageIndex, int tileX, int tileY)
Throws: UnsupportedOperationException
Throws: IllegalArgumentException
Throws: IllegalStateException
Throws: IndexOutOfBoundsException
Throws: IOException

public boolean readerSupportsThumbnails()

public void removeAllIIOReadProgressListeners()

public void removeAllIIOReadUpdateListeners()

public void removeAllIIOReadWarningListeners()

public void removeIIOReadProgressListener(IIOReadProgressListener listener)

public void removeIIOReadUpdateListener(IIOReadUpdateListener listener)

public void removeIIOReadWarningListener(IIOReadWarningListener listener)

public void reset()

public void setInput(Object input)
Throws: IllegalArgumentException

public void setInput(Object input, boolean seekForwardOnly)
Throws: IllegalArgumentException

public void setInput(Object input, boolean seekForwardOnly, boolean ignoreMetadata)
Throws: IllegalArgumentException

public void setLocale(Locale locale)
Throws: IllegalArgumentException


INHERITED METHODS:
getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(),

SUBCLASSES:





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net