|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jalios.io.ImageFormat
public class ImageFormat
This class keeps track of possible export image formats.
| Field Summary | |
|---|---|
static ImageFormat[] |
AVAILABLE_FORMATS
|
static ImageFormat |
GIF
|
static ImageFormat |
JPEG
|
static String |
REVISION
|
| Method Summary | |
|---|---|
String |
getAlias()
Returns lower case alias of this format as a coma seperated string. |
String |
getExtension()
Returns the prefered filename extension of this format. |
static ImageFormat |
getImageFormat(String format)
Returns an ImageFormat instance from a string. |
String |
getMimeType()
Returns Mime Type of this format. |
String |
toString()
Implementation of toString() method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String REVISION
public static final ImageFormat JPEG
public static final ImageFormat GIF
public static final ImageFormat[] AVAILABLE_FORMATS
| Method Detail |
|---|
public static ImageFormat getImageFormat(String format)
format - the ImageFormat corresponding to the given String
or null if format not available.AVAILABLE_FORMATSpublic String getExtension()
public String getMimeType()
public String getAlias()
public String toString()
toString in class ObjectgetAlias()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||