public class LineEndingConversion extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LineEndingConversion.EOLType
Supported line ending types for conversion
|
| Constructor and Description |
|---|
LineEndingConversion() |
| Modifier and Type | Method and Description |
|---|---|
static String |
convertEOL(String input,
LineEndingConversion.EOLType type)
Convert line endings of a string to the given type.
|
public static String convertEOL(String input, LineEndingConversion.EOLType type)
input - The string containing line endings to be converted.type - Type of line endings to convert the string into.Copyright © 2019. All rights reserved.