|
||||||||||
| 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 java.lang.String |
REVISION
|
| Method Summary | |
|---|---|
java.lang.String |
getAlias()
Returns lower case alias of this format as a coma seperated string. |
java.lang.String |
getExtension()
Returns the prefered filename extension of this format. |
static ImageFormat |
getImageFormat(java.lang.String format)
Returns an ImageFormat instance from a string. |
java.lang.String |
getMimeType()
Returns Mime Type of this format. |
java.lang.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 java.lang.String REVISION
public static final ImageFormat JPEG
public static final ImageFormat GIF
public static final ImageFormat[] AVAILABLE_FORMATS
| Method Detail |
|---|
public static ImageFormat getImageFormat(java.lang.String format)
format - the ImageFormat corresponding to the given String
or null if format not available.AVAILABLE_FORMATSpublic java.lang.String getExtension()
public java.lang.String getMimeType()
public java.lang.String getAlias()
public java.lang.String toString()
toString in class java.lang.ObjectgetAlias()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||