public static enum IndentStep.Type extends Enum<IndentStep.Type>
| Modifier and Type | Method and Description |
|---|---|
FormatterStep |
create()
Creates a step which will indent with the given type of whitespace, converting between tabs and spaces at the default ratio.
|
FormatterStep |
create(int numSpacesPerTab)
Synonym for
IndentStep.create(Type, int). |
static IndentStep.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndentStep.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndentStep.Type TAB
public static final IndentStep.Type SPACE
public static IndentStep.Type[] values()
for (IndentStep.Type c : IndentStep.Type.values()) System.out.println(c);
public static IndentStep.Type 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 FormatterStep create()
Creates a step which will indent with the given type of whitespace, converting between tabs and spaces at the default ratio.
public FormatterStep create(int numSpacesPerTab)
Synonym for IndentStep.create(Type, int).