public enum DefaultPreProcessor extends Enum<DefaultPreProcessor> implements PreProcessor
PreProcessor that strips comments from statements and scripts.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
String |
script(String script) |
String |
statement(String statement) |
static DefaultPreProcessor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultPreProcessor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultPreProcessor INSTANCE
public static DefaultPreProcessor[] values()
for (DefaultPreProcessor c : DefaultPreProcessor.values()) System.out.println(c);
public static DefaultPreProcessor 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 String script(String script)
script in interface PreProcessorpublic String statement(String statement)
statement in interface PreProcessorCopyright © 2013–2020. All rights reserved.