|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Mime>
org.foray.common.Mime
public enum Mime
An enumeration of some mime-types.
Enum Constant Summary | |
---|---|
JAVA2D
The (pseudo) MIME type for Java 2D output. |
|
MATHML
The (assumed) MIME type for MathML documents. |
|
PDF
The MIME type for PDF. |
|
POSTSCRIPT
The MIME type for PostScript. |
|
SVG
The MIME type for SVG. |
Method Summary | |
---|---|
String |
getMimeString()
Returns the string used to designate this mime type. |
static Mime |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Mime[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Mime PDF
public static final Mime POSTSCRIPT
public static final Mime JAVA2D
public static final Mime SVG
public static final Mime MATHML
Method Detail |
---|
public static Mime[] values()
for (Mime c : Mime.values()) System.out.println(c);
public static Mime valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getMimeString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |