Package org.daisy.braille.embosser
Class StandardLineBreaks
- java.lang.Object
-
- org.daisy.braille.embosser.StandardLineBreaks
-
- All Implemented Interfaces:
LineBreaks
public class StandardLineBreaks extends java.lang.Object implements LineBreaks
Provides standard line break definitions- Author:
- Joel HÃ¥kansson
-
-
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 java.lang.String
getString()
Gets the string used to represent line breaksstatic java.lang.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 java.lang.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 java.lang.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
-
-