com.sun.jimi.core.encoder.sunraster
Class SunRasterEncoderOptions

com.sun.jimi.core.encoder.sunraster.SunRasterEncoderOptions

public class SunRasterEncoderOptions

Class for setting SunRaster-encoding options.


Field Summary
static java.lang.String COMPRESSION_NONE
           
static java.lang.String COMPRESSION_RLE
           
 
Constructor Summary
SunRasterEncoderOptions()
           
 
Method Summary
 java.lang.Class getEncoderClass()
          Get the Class of the encoder implementation.
 void setCompressionType(java.lang.String compressionType)
          Sets the compression type to encode with.
 

Field Detail

COMPRESSION_NONE

public static final java.lang.String COMPRESSION_NONE

COMPRESSION_RLE

public static final java.lang.String COMPRESSION_RLE
Constructor Detail

SunRasterEncoderOptions

public SunRasterEncoderOptions()
Method Detail

getEncoderClass

public java.lang.Class getEncoderClass()
Get the Class of the encoder implementation.
Returns:
The Class object representing the encoder.

setCompressionType

public void setCompressionType(java.lang.String compressionType)
                        throws InvalidOptionException
Sets the compression type to encode with.
Parameters:
compressionType - The type of compression to use. Must be one of the COMPRESSION_ constants.
See Also:
COMPRESSION_NONE, COMPRESSION_RLE