public enum IndentStyle extends java.lang.Enum<IndentStyle>
| Enum Constant and Description |
|---|
SPACES_2
1 indent = 2 spaces
|
SPACES_4
1 indent = 4 spaces
|
SPACES_8
1 indent = 8 spaces
|
TABS
1 indent = 1 tab character
|
| Modifier and Type | Field and Description |
|---|---|
char[] |
chars |
| Modifier and Type | Method and Description |
|---|---|
static IndentStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IndentStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndentStyle TABS
public static final IndentStyle SPACES_2
public static final IndentStyle SPACES_4
public static final IndentStyle SPACES_8
public static IndentStyle[] values()
for (IndentStyle c : IndentStyle.values()) System.out.println(c);
public static IndentStyle 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