public class StandardLineBreaks extends Object implements LineBreaks
Modifier and Type | Class and Description |
---|---|
static class |
StandardLineBreaks.Type
Defines standard line break types
|
Constructor and Description |
---|
StandardLineBreaks()
Creates a new object with the system's default line break style.
|
StandardLineBreaks(StandardLineBreaks.Type t)
Creates a new object with the specified line break style
|
Modifier and Type | Method and Description |
---|---|
String |
getString()
Gets the string used to represent line breaks
|
static String |
getString(StandardLineBreaks.Type t)
Gets the string used to represent line breaks
|
public StandardLineBreaks()
public StandardLineBreaks(StandardLineBreaks.Type t)
t
- the type of line breakpublic String getString()
LineBreaks
getString
in interface LineBreaks
public static String getString(StandardLineBreaks.Type t)
t
- the type of line breaks