References
Libraries
DataStreamNewlineType is used when checking for or setting the line endings for a given file.
DataStreamNewlineType
Automatically try to handle any line ending type.
Selects “CR” line endings.
Selects “CR, LF” line ending, common on Microsoft Windows.
Selects “LF” line endings, common on most modern UNIX platforms.
DataStreamNewlineType.ANY
DataStreamNewlineType.CR
DataStreamNewlineType.CR_LF
DataStreamNewlineType.LF