public class HyphenatorWithExceptions extends AbstractHyphenator
AbstractHyphenator.util
Hyphenator.FullHyphenator, Hyphenator.LineBreaker, Hyphenator.LineIterator, Hyphenator.NonStandardHyphenationException
| Constructor and Description |
|---|
HyphenatorWithExceptions(Hyphenator hyphenator,
Reader exceptionsFile) |
| Modifier and Type | Method and Description |
|---|---|
Hyphenator.FullHyphenator |
asFullHyphenator()
Indicate all soft wrap opportunities by inserting soft hyphens and zero width
spaces.
|
Hyphenator.LineBreaker |
asLineBreaker()
Break the input into lines of a preferred and maximal length.
|
MoreObjects.ToStringHelper |
toStringHelper() |
finalize, getIdentifier, toString
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getIdentifier
public HyphenatorWithExceptions(Hyphenator hyphenator, Reader exceptionsFile) throws IOException
IOExceptionpublic Hyphenator.FullHyphenator asFullHyphenator()
HyphenatorasFullHyphenator in interface Hyphenator
asFullHyphenator in class AbstractHyphenator
public Hyphenator.LineBreaker asLineBreaker() throws UnsupportedOperationException
HyphenatorHyphenator.LineBreaker is not required to do any special white space processing, but
it may.
If the Hyphenator.FullHyphenator returned by Hyphenator.asFullHyphenator() throws a Hyphenator.NonStandardHyphenationException, the Hyphenator.asLineBreaker() method must not throw a UnsupportedOperationException.asLineBreaker in interface Hyphenator
asLineBreaker in class AbstractHyphenator
UnsupportedOperationException - if the underlying hyphenator's asLineBreaker() method throws an
UnsupportedOperationException
public MoreObjects.ToStringHelper toStringHelper()
toStringHelper in class AbstractTransform
Copyright © 2010–2026 The DAISY Consortium. All rights reserved.