|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<OutputTargetType>
org.foray.app.OutputTargetType
public enum OutputTargetType
Enumeration of the various output options for FOray.
Enum Constant Summary | |
---|---|
AWT
Render to a GUI window. |
|
MIF
Render to MIF. |
|
PCL
Render to PCL. |
|
PDF
Render to PDF. |
|
PRINT
Render to PRINT. |
|
PS
Render to Postscript. |
|
SVG
Render to SVG. |
|
TXT
Render to Text. |
|
XML
Render to XML. |
Method Summary | |
---|---|
String |
getFileExtension()
Returns the file extension used for this output target type. |
boolean |
requiresOutputStream()
Indicates whether this output target requires an output stream. |
static OutputTargetType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OutputTargetType[] |
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 OutputTargetType PDF
public static final OutputTargetType AWT
public static final OutputTargetType MIF
public static final OutputTargetType XML
public static final OutputTargetType PRINT
public static final OutputTargetType PCL
public static final OutputTargetType PS
public static final OutputTargetType TXT
public static final OutputTargetType SVG
Method Detail |
---|
public static OutputTargetType[] values()
for (OutputTargetType c : OutputTargetType.values()) System.out.println(c);
public static OutputTargetType 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 boolean requiresOutputStream()
public String getFileExtension()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |