Package org.daisy.dotify.translator.impl
Class ConfigurableBrailleFinalizer
- java.lang.Object
-
- org.daisy.dotify.translator.impl.ConfigurableBrailleFinalizer
-
- All Implemented Interfaces:
BrailleFinalizer
public final class ConfigurableBrailleFinalizer extends Object implements BrailleFinalizer
Provides a configurable braille finalizer.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConfigurableBrailleFinalizer.Builder
Provides a builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
finalizeBraille(String input)
Finalizes braille translation, replacing remaining non braille characters with braille characters.
-
-
-
Method Detail
-
finalizeBraille
public String finalizeBraille(String input)
Description copied from interface:BrailleFinalizer
Finalizes braille translation, replacing remaining non braille characters with braille characters. An implementation can assume that the input has been filtered. The resulting string must have the same length as the input string.- Specified by:
finalizeBraille
in interfaceBrailleFinalizer
- Parameters:
input
- the input string, mostly braille- Returns:
- returns the finalized string
-
-