Package org.daisy.dotify.hyphenator.impl
Class LatexHyphenatorFactoryService
- java.lang.Object
-
- org.daisy.dotify.hyphenator.impl.LatexHyphenatorFactoryService
-
- All Implemented Interfaces:
HyphenatorFactoryService
public class LatexHyphenatorFactoryService extends Object implements HyphenatorFactoryService
Provides a hyphenator factory service for latex hyphenation rules.
-
-
Constructor Summary
Constructors Constructor Description LatexHyphenatorFactoryService()Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<String>listLocales()Returns a list of supported locales as defined by IETF RFC 3066.HyphenatorFactorynewFactory()Creates a new hyphenator factory.booleansupportsLocale(String locale)Returns true if this instance can create instances for the specified locale.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.daisy.dotify.api.hyphenator.HyphenatorFactoryService
setCreatedWithSPI
-
-
-
-
Method Detail
-
supportsLocale
public boolean supportsLocale(String locale)
Description copied from interface:HyphenatorFactoryServiceReturns true if this instance can create instances for the specified locale.- Specified by:
supportsLocalein interfaceHyphenatorFactoryService- Parameters:
locale- a valid locale as defined by IETF RFC 3066- Returns:
- returns true if the specified locale is supported, false otherwise
-
newFactory
public HyphenatorFactory newFactory()
Description copied from interface:HyphenatorFactoryServiceCreates a new hyphenator factory.- Specified by:
newFactoryin interfaceHyphenatorFactoryService- Returns:
- returns a new hyphenator factory
-
listLocales
public Collection<String> listLocales()
Description copied from interface:HyphenatorFactoryServiceReturns a list of supported locales as defined by IETF RFC 3066.- Specified by:
listLocalesin interfaceHyphenatorFactoryService- Returns:
- returns a list of locales
-
-