Class StandardLineBreaks

java.lang.Object
org.daisy.braille.embosser.StandardLineBreaks
All Implemented Interfaces:
LineBreaks

public class StandardLineBreaks extends Object implements LineBreaks
Provides standard line break definitions
Author:
Joel HÃ¥kansson
  • Constructor Details

    • 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 Details

    • getString

      public String getString()
      Description copied from interface: LineBreaks
      Gets the string used to represent line breaks
      Specified by:
      getString in interface LineBreaks
      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