com.sun.jimi.core.encoder.bmp
Class BMPEncoderFactory
java.lang.Object
|
+--com.sun.jimi.core.JimiEncoderFactorySupport
|
+--com.sun.jimi.core.encoder.bmp.BMPEncoderFactory
- public class BMPEncoderFactory
- extends JimiEncoderFactorySupport
Encoder factory implementation for BMP
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
MIME_TYPES
public static final java.lang.String[] MIME_TYPES
FILENAME_EXTENSIONS
public static final java.lang.String[] FILENAME_EXTENSIONS
FORMAT_NAME
public static final java.lang.String FORMAT_NAME
BMPEncoderFactory
public BMPEncoderFactory()
getMimeTypes
public java.lang.String[] getMimeTypes()
- Get the mime-types for the format. This type should not include any "x-" even for
non-standard formats.
- Returns:
- the mimetypes
getFilenameExtensions
public java.lang.String[] getFilenameExtensions()
- Get the filename-extensions belonging to this format. e.g, "jpg", "jpeg"
- Returns:
- an array of extension strings
getFormatName
public java.lang.String getFormatName()
- Get the name of the format. e.g., "Graphics Interchange Format (GIF)"
- Returns:
- the name
canEncodeMultipleImages
public boolean canEncodeMultipleImages()
- Check whether there is multi-image support.
- Returns:
- true if the encoder can encode multiple images
createEncoder
public JimiEncoder createEncoder()
- Instantiate an encoder for the format.
- Returns:
- a decoder instance