public enum LineSplitMode extends Enum<LineSplitMode>
LineSplitMode
specifies for according algorithms on how a line is
to be split apart.Enum Constant and Description |
---|
AT_END_OF_LINE
A line is to be split at an end of a line, best as it gets, identified by
the
CharConsts.END_OF_LINE_CHARS such as
" |
AT_FIXED_WIDTH
A line is to be split exactly at the given width not reckoning the end of
lines or spaces.
|
AT_SPACE
A line is to be split at space characters, best as it gets, identified by
the space " " character.
|
Modifier and Type | Method and Description |
---|---|
static LineSplitMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineSplitMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineSplitMode AT_END_OF_LINE
CharConsts.END_OF_LINE_CHARS
such as
".", "!", "?" as well as ";".public static final LineSplitMode AT_SPACE
public static final LineSplitMode AT_FIXED_WIDTH
public static LineSplitMode[] values()
for (LineSplitMode c : LineSplitMode.values()) System.out.println(c);
public static LineSplitMode 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 nullCopyright © 2015. All rights reserved.