Package org.daisy.dotify.api.translator
Interface BrailleTranslatorFactory
-
public interface BrailleTranslatorFactory
Provides a factory for braille translation and hyphenation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BrailleTranslator
newTranslator(String locale, String mode)
Creates a new translator with the given specification
-
-
-
Method Detail
-
newTranslator
BrailleTranslator newTranslator(String locale, String mode) throws TranslatorConfigurationException
Creates a new translator with the given specification- Parameters:
locale
- the translator localemode
- the translator grade- Returns:
- returns a new translator
- Throws:
TranslatorConfigurationException
- if the specification is not supported
-
-