- All Implemented Interfaces:
Serializable
,Comparable<SplitTextMode>
,Constable
The
SplitTextMode
specifies for according algorithms on how a line is
to be split apart.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA line is to be split at an end of a line, best as it gets, identified by theCharSet.END_OF_LINE
characters.A line is to be split at the first end of a line detected, identified by theCharSet.END_OF_LINE
characters.A line is to be split exactly at the given width not reckoning the end of lines or spaces.A line is to be split at space characters, best as it gets, identified by the space " " character. -
Method Summary
Modifier and TypeMethodDescriptionstatic SplitTextMode
Returns the enum constant of this class with the specified name.static SplitTextMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AT_END_OF_LINE
A line is to be split at an end of a line, best as it gets, identified by theCharSet.END_OF_LINE
characters. -
AT_FIRST_END_OF_LINE
A line is to be split at the first end of a line detected, identified by theCharSet.END_OF_LINE
characters. -
AT_SPACE
A line is to be split at space characters, best as it gets, identified by the space " " character. -
AT_FIXED_WIDTH
A line is to be split exactly at the given width not reckoning the end of lines or spaces.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-