static enum CompilerOptions.JsonStreamMode extends java.lang.Enum<CompilerOptions.JsonStreamMode>
Enum Constant and Description |
---|
BOTH
stdin and stdout are both json streams.
|
IN
stdin is a json stream.
|
NONE
stdin/out are both single files.
|
OUT
stdout is a json stream.
|
Modifier and Type | Method and Description |
---|---|
static CompilerOptions.JsonStreamMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompilerOptions.JsonStreamMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompilerOptions.JsonStreamMode NONE
public static final CompilerOptions.JsonStreamMode IN
public static final CompilerOptions.JsonStreamMode OUT
public static final CompilerOptions.JsonStreamMode BOTH
public static CompilerOptions.JsonStreamMode[] values()
for (CompilerOptions.JsonStreamMode c : CompilerOptions.JsonStreamMode.values()) System.out.println(c);
public static CompilerOptions.JsonStreamMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null