public class SeparatorParser extends Object
Modifier and Type | Method and Description |
---|---|
static String |
parseSeparator(String separator)
Parses the given separator string.
|
public static String parseSeparator(String separator)
null
or empty string = no separator.SYSTEM
}" = operating system new line.UNIX
" = unix line ending (\n
).WINDOWS
" = windows line ending (\r\n
).Any other value will be returned as-is.
separator
- the separator formatCopyright © 2013–2022. All rights reserved.