public class LineHandlerHelper
extends java.lang.Object
Constructor and Description |
---|
LineHandlerHelper() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.String> |
splitText(java.lang.String text)
Split text into lines.
|
static java.lang.String |
trimLineSeparator(java.lang.String line)
Trim line separator from new line if it presents
|
public static java.util.List<java.lang.String> splitText(java.lang.String text)
text
- a text to splitpublic static java.lang.String trimLineSeparator(java.lang.String line)
line
- a line to process