Java Utililty Methods Line Ending

List of utility methods to do Line Ending

Description

The list of methods to do Line Ending are organized into topic(s).

Method

StringstandardizeLineEndings(String data)
Convert text from other line ending formats into our internal format.
return standardizeLineEndings(data, NEWLINE);
StringstandardizeLineEndings(String string)
standardize Line Endings
if (string == null) {
    return null;
return string.replace("\r\n", "\n").replace("\r", "\n");