com.sun.jimi.core.encoder.sunraster
Class SunRasterEncoderOptions
com.sun.jimi.core.encoder.sunraster.SunRasterEncoderOptions
- public class SunRasterEncoderOptions
Class for setting SunRaster-encoding options.
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. |
COMPRESSION_NONE
public static final java.lang.String COMPRESSION_NONE
COMPRESSION_RLE
public static final java.lang.String COMPRESSION_RLE
SunRasterEncoderOptions
public SunRasterEncoderOptions()
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