Enum GhostscriptNode.OutputMode
- java.lang.Object
-
- java.lang.Enum<GhostscriptNode.OutputMode>
-
- com.levigo.jadice.server.ghostscript.GhostscriptNode.OutputMode
-
- All Implemented Interfaces:
Serializable
,Comparable<GhostscriptNode.OutputMode>
- Enclosing class:
- GhostscriptNode
public static enum GhostscriptNode.OutputMode extends Enum<GhostscriptNode.OutputMode>
Enum controlling how output data streams are generated.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GhostscriptNode.OutputMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static GhostscriptNode.OutputMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PAGE
public static final GhostscriptNode.OutputMode PAGE
Generate one stream per page, i.e. single-page TIFFs. Note: This mode does not apply for PDF output!
-
STREAM
public static final GhostscriptNode.OutputMode STREAM
Generate one result stream per incoming stream.
-
JOINED
public static final GhostscriptNode.OutputMode JOINED
Generate one result stream in total by joining all incoming streams together.
-
-
Method Detail
-
values
public static GhostscriptNode.OutputMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GhostscriptNode.OutputMode c : GhostscriptNode.OutputMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GhostscriptNode.OutputMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-