public static enum Separators.Spacing extends Enum<Separators.Spacing>
Modifier and Type | Method and Description |
---|---|
String |
apply(char separator) |
String |
spacesAfter() |
String |
spacesBefore() |
static Separators.Spacing |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Separators.Spacing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Separators.Spacing NONE
public static final Separators.Spacing BEFORE
public static final Separators.Spacing AFTER
public static final Separators.Spacing BOTH
public static Separators.Spacing[] values()
for (Separators.Spacing c : Separators.Spacing.values()) System.out.println(c);
public static Separators.Spacing 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 spacesBefore()
public String spacesAfter()
public String apply(char separator)
Copyright © 2008–2023 FasterXML. All rights reserved.