Package org.daisy.dotify.api.embosser
Class StandardLineBreaks
- java.lang.Object
-
- org.daisy.dotify.api.embosser.StandardLineBreaks
-
- All Implemented Interfaces:
LineBreaks
public class StandardLineBreaks extends Object implements LineBreaks
Provides standard line break definitions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StandardLineBreaks.Type
Defines standard line break types
-
Constructor Summary
Constructors Constructor 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getString()
Gets the string used to represent line breaksstatic String
getString(StandardLineBreaks.Type t)
Gets the string used to represent line breaks
-
-
-
Constructor Detail
-
StandardLineBreaks
public StandardLineBreaks()
Creates a new object with the system's default line break style.
-
StandardLineBreaks
public StandardLineBreaks(StandardLineBreaks.Type t)
Creates a new object with the specified line break style- Parameters:
t
- the type of line break
-
-
Method Detail
-
getString
public String getString()
Description copied from interface:LineBreaks
Gets the string used to represent line breaks- Specified by:
getString
in interfaceLineBreaks
- Returns:
- returns the string used to represent line breaks
-
getString
public static String getString(StandardLineBreaks.Type t)
Gets the string used to represent line breaks- Parameters:
t
- the type of line breaks- Returns:
- returns the string used to represent line breaks
-
-