com.sun.jimi.core
Interface FormatFactory
- All Known Subinterfaces:
- JimiDecoderFactory, JimiEncoderFactory
- public abstract interface FormatFactory
Base class for encoder and decoder factories.
Method Summary |
java.lang.String[] |
getFilenameExtensions()
Get the filename-extensions belonging to this format. |
java.lang.String |
getFormatName()
Get the name of the format. |
java.lang.String[] |
getMimeTypes()
Get the mime-types for the format. |
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