|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.dynalivery.saffron.client.ImageType
This class defines the allowable image types
| Field Summary | |
static int |
JPG
a JPEG image |
static int |
PNG
a PNG (portable network graphic) image |
protected static java.lang.String[] |
typeStrings
|
| Constructor Summary | |
ImageType()
|
|
| Method Summary | |
static java.lang.String |
getTypeString(int imageType)
Returns a descriptive String for the specified image type |
static void |
validate(int imageType)
Validate the specified image type |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int JPG
public static final int PNG
protected static final java.lang.String[] typeStrings
| Constructor Detail |
public ImageType()
| Method Detail |
public static void validate(int imageType)
throws InvalidParameterException
imageType - the integer image type (e.g. ImageType.JPG)
InvalidParameterException - thrown if image type is invalid
public static java.lang.String getTypeString(int imageType)
throws InvalidParameterException
imageType - the integer image type (e.g. ImageType.JPG)
InvalidParameterException - thrown if image type is invalid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||