public class FormatterConfiguration
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FormatterConfiguration.Builder
Provides a builder for formatter configuration
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsEndingVolumeOnHyphen()
Returns true if the last line (of the main flow) in each volume may be
hyphenated, if necessary.
|
java.util.Set<java.lang.String> |
getIgnoredStyles()
Gets a set of ignored styles
|
java.lang.String |
getLocale()
Gets the locale
|
java.lang.String |
getTranslationMode()
Gets the translation mode
|
boolean |
isAllowingTextOverflowTrimming()
Returns true if text that overflows is allowed to be truncated, false otherwise.
|
boolean |
isHyphenating()
Returns true if the formatter is hyphenating
|
boolean |
isMarkingCapitalLetters()
Returns true if capital letters should be marked, false otherwise
|
static FormatterConfiguration.Builder |
with(java.lang.String locale,
java.lang.String mode)
Creates a new builder with the specified properties
|
public static FormatterConfiguration.Builder with(java.lang.String locale, java.lang.String mode)
locale - the localemode - the braille translation modepublic java.lang.String getTranslationMode()
public java.lang.String getLocale()
public boolean isAllowingTextOverflowTrimming()
public boolean allowsEndingVolumeOnHyphen()
public boolean isHyphenating()
public boolean isMarkingCapitalLetters()
public java.util.Set<java.lang.String> getIgnoredStyles()