|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.dynalivery.saffron.client.FileType
This class defines the allowable Saffron input file types
| Field Summary | |
static int |
HTML
HTML |
static int |
PDF
Adobe PDF |
static int |
RASTER
Raster Images |
static int |
RTF
Rich Text Format |
static int |
SVG
Scalable Vector Graphics (SVG) |
protected static java.lang.String[] |
typeStrings
|
| Constructor Summary | |
FileType()
|
|
| Method Summary | |
static java.lang.String |
getTypeString(int fileType)
Returns a descriptive String for the specified file type |
static void |
validate(int fileType)
Validates the specified file 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 PDF
public static final int HTML
public static final int RTF
public static final int RASTER
public static final int SVG
protected static final java.lang.String[] typeStrings
| Constructor Detail |
public FileType()
| Method Detail |
public static void validate(int fileType)
throws InvalidParameterException
fileType - a file type (e.g. FileType.PDF)
InvalidParameterException - thrown if file type is invalid
public static java.lang.String getTypeString(int fileType)
throws InvalidParameterException
fileType - a file type (e.g. FileType.PDF)
InvalidParameterException - thrown if file type is invalid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||