public static enum RythmEngine.OutputMode extends Enum<RythmEngine.OutputMode>
OutputStream
Writer
String
This is not an API used in user application
Modifier and Type | Method and Description |
---|---|
static RythmEngine.OutputMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RythmEngine.OutputMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
boolean |
writeOutput()
Return true if the current output mode is to output to
OutputStream
or Writer |
public static final RythmEngine.OutputMode os
public static final RythmEngine.OutputMode writer
public static final RythmEngine.OutputMode str
public static RythmEngine.OutputMode[] values()
for (RythmEngine.OutputMode c : RythmEngine.OutputMode.values()) System.out.println(c);
public static RythmEngine.OutputMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean writeOutput()
OutputStream
or Writer
Copyright © 2015. All Rights Reserved.