Package org.daisy.dotify.api.translator
Interface BrailleTranslatorFactory
-
public interface BrailleTranslatorFactoryProvides a factory for braille translation and hyphenation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BrailleTranslatornewTranslator(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
-
-