javax > javax.imageio > javax.imageio.imagewriter >

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


public abstract class ImageWriter extends Object implements ImageTranscoder


FIELDS:
protected Locale[] availableLocales
protected Locale locale
protected ImageWriterSpi originatingProvider
protected Object output
protected List progressListeners
protected List warningListeners
protected List warningLocales

CONSTRUCTORS:
protected ImageWriter(ImageWriterSpi originatingProvider)


METHODS:
public void abort()

protected boolean abortRequested()

public void addIIOWriteProgressListener(IIOWriteProgressListener listener)

public void addIIOWriteWarningListener(IIOWriteWarningListener listener)

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

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

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

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

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

public boolean canReplaceStreamMetadata()
Throws: IllegalStateException
Throws: IOException

public boolean canWriteEmpty()
Throws: IllegalStateException
Throws: IOException

public boolean canWriteRasters()

public boolean canWriteSequence()

protected void clearAbortRequest()

public abstract IIOMetadata convertImageMetadata(IIOMetadata inData, ImageTypeSpecifier imageType, ImageWriteParam param)

public abstract IIOMetadata convertStreamMetadata(IIOMetadata inData, ImageWriteParam param)

public void dispose()

public void endInsertEmpty()
Throws: IllegalStateException
Throws: UnsupportedOperationException
Throws: IllegalStateException
Throws: IllegalStateException
Throws: IllegalStateException
Throws: IOException

public void endReplacePixels()
Throws: IllegalStateException
Throws: UnsupportedOperationException
Throws: IllegalStateException
Throws: IOException

public void endWriteEmpty()
Throws: IllegalStateException
Throws: UnsupportedOperationException
Throws: IllegalStateException
Throws: IllegalStateException
Throws: IllegalStateException
Throws: IOException

public void endWriteSequence()
Throws: IllegalStateException
Throws: UnsupportedOperationException
Throws: IOException

public Locale[] getAvailableLocales()

public abstract IIOMetadata getDefaultImageMetadata(ImageTypeSpecifier imageType, ImageWriteParam param)

public abstract IIOMetadata getDefaultStreamMetadata(ImageWriteParam param)

public ImageWriteParam getDefaultWriteParam()

public Locale getLocale()

public int getNumThumbnailsSupported(ImageTypeSpecifier imageType, ImageWriteParam param, IIOMetadata streamMetadata, IIOMetadata imageMetadata)

public ImageWriterSpi getOriginatingProvider()

public Object getOutput()

public Dimension[] getPreferredThumbnailSizes(ImageTypeSpecifier imageType, ImageWriteParam param, IIOMetadata streamMetadata, IIOMetadata imageMetadata)

public void prepareInsertEmpty(int imageIndex, ImageTypeSpecifier imageType, int width, int height, IIOMetadata imageMetadata, List thumbnails, ImageWriteParam param)
Throws: IllegalStateException
Throws: UnsupportedOperationException
Throws: IndexOutOfBoundsException
Throws: IllegalStateException
Throws: IllegalStateException
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IOException

public void prepareReplacePixels(int imageIndex, Rectangle region)
Throws: IllegalStateException
Throws: UnsupportedOperationException
Throws: IndexOutOfBoundsException
Throws: IllegalStateException
Throws: IllegalArgumentException
Throws: IOException

public void prepareWriteEmpty(IIOMetadata streamMetadata, ImageTypeSpecifier imageType, int width, int height, IIOMetadata imageMetadata, List thumbnails, ImageWriteParam param)
Throws: IllegalStateException
Throws: UnsupportedOperationException
Throws: IllegalStateException
Throws: IllegalStateException
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IOException

public void prepareWriteSequence(IIOMetadata streamMetadata)
Throws: IllegalStateException
Throws: UnsupportedOperationException
Throws: IOException

protected void processImageComplete()

protected void processImageProgress(float percentageDone)

protected void processImageStarted(int imageIndex)

protected void processThumbnailComplete()

protected void processThumbnailProgress(float percentageDone)

protected void processThumbnailStarted(int imageIndex, int thumbnailIndex)

protected void processWarningOccurred(int imageIndex, String warning)
Throws: IllegalArgumentException

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

protected void processWriteAborted()

public void removeAllIIOWriteProgressListeners()

public void removeAllIIOWriteWarningListeners()

public void removeIIOWriteProgressListener(IIOWriteProgressListener listener)

public void removeIIOWriteWarningListener(IIOWriteWarningListener listener)

public void removeImage(int imageIndex)
Throws: IllegalStateException
Throws: UnsupportedOperationException
Throws: IndexOutOfBoundsException
Throws: IOException

public void replaceImageMetadata(int imageIndex, IIOMetadata imageMetadata)
Throws: IllegalStateException
Throws: UnsupportedOperationException
Throws: IndexOutOfBoundsException
Throws: IOException

public void replacePixels(Raster raster, ImageWriteParam param)
Throws: IllegalStateException
Throws: UnsupportedOperationException
Throws: IllegalStateException
Throws: UnsupportedOperationException
Throws: IllegalArgumentException
Throws: IOException

public void replacePixels(RenderedImage image, ImageWriteParam param)
Throws: IllegalStateException
Throws: UnsupportedOperationException
Throws: IllegalStateException
Throws: IllegalArgumentException
Throws: IOException

public void replaceStreamMetadata(IIOMetadata streamMetadata)
Throws: IllegalStateException
Throws: UnsupportedOperationException
Throws: IOException

public void reset()

public void setLocale(Locale locale)
Throws: IllegalArgumentException

public void setOutput(Object output)
Throws: IllegalArgumentException

public void write(RenderedImage image)
Throws: IllegalStateException
Throws: IllegalArgumentException
Throws: IOException

public void write(IIOImage image)
Throws: IllegalStateException
Throws: IllegalArgumentException
Throws: UnsupportedOperationException
Throws: IOException

public abstract void write(IIOMetadata streamMetadata, IIOImage image, ImageWriteParam param)
Throws: IllegalStateException
Throws: UnsupportedOperationException
Throws: IllegalArgumentException
Throws: IOException

public void writeInsert(int imageIndex, IIOImage image, ImageWriteParam param)
Throws: IllegalStateException
Throws: UnsupportedOperationException
Throws: IllegalArgumentException
Throws: IndexOutOfBoundsException
Throws: UnsupportedOperationException
Throws: IOException

public void writeToSequence(IIOImage image, ImageWriteParam param)
Throws: IllegalStateException
Throws: UnsupportedOperationException
Throws: IllegalArgumentException
Throws: UnsupportedOperationException
Throws: IOException


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