public interface BrailleTranslator
| Modifier and Type | Method and Description |
|---|---|
String |
getTranslatorMode()
Gets the translator mode of this translator.
|
BrailleTranslatorResult |
translate(Translatable specification)
Translates a text into braille using the supplied specification.
|
BrailleTranslatorResult |
translate(TranslatableWithContext specification)
Translates a text into braille using the supplied specification.
|
BrailleTranslatorResult translate(Translatable specification) throws TranslationException
specification - the specificationTranslationException - if the locale is not supported by the implementationIllegalArgumentException - if the sum of all attributes length is not equal to the
length of the textBrailleTranslatorResult translate(TranslatableWithContext specification) throws TranslationException
specification - the specificationTranslationException - if the locale is not supported by the implementationIllegalArgumentException - if the sum of all attributes length is not equal to the
length of the textString getTranslatorMode()