com.sun.jimi.core
Class JimiMultiImageRasterEncoder
java.lang.Object
|
+--com.sun.jimi.core.util.ProgressMonitorSupport
|
+--com.sun.jimi.core.JimiRasterEncoderSupport
|
+--com.sun.jimi.core.JimiMultiImageRasterEncoder
- public abstract class JimiMultiImageRasterEncoder
- extends JimiRasterEncoderSupport
Superclass for raster-based decoders for image file formats supporting more than
one image per file.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
JimiMultiImageRasterEncoder
public JimiMultiImageRasterEncoder()
encodeImages
public final void encodeImages(JimiImageEnumeration jimiImages,
java.io.OutputStream output)
throws JimiException
- Implementation delegating to
doEncodeImages
encodeImages
public final void encodeImages(JimiImageEnumeration jimiImages,
java.io.OutputStream output,
ProgressListener listener)
throws JimiException
- Implementation delegating to
doEncodeImages
doEncodeImages
public abstract void doEncodeImages(JimiRasterImageEnumeration jimiImages,
java.io.OutputStream output)
throws JimiException,
java.io.IOException
doEncodeImages
is the method which must be implemented by subclasses.
It takes the series of JimiRasterImages and encodes them to the output stream.
- Parameters:
jimiImages
- the images to encodeoutput
- the stream to encode to
setProgress
public void setProgress(int progressLevel)
- Set the progress level.
- Parameters:
progressLevel
- the level of progress, between 0 and 1000 inclusive- Overrides:
- setProgress in class ProgressMonitorSupport