Package org.daisy.dotify.common.text
Provides tools for text processing. For example:
- filter strings
- reading text file content
- perform line breaking
-
Interface Summary Interface Description StringFilter StringFilter is in interface used when replacing a string with another string. -
Class Summary Class Description BreakPoint A BreakPoint is a data object to keep the information about a break point result.BreakPointHandler Breaks a paragraph of text into rows.BreakPointHandler.Builder Provides a builder for break point handlers.CaseFilter Implements StringFilter to return upper or lower case characters only.CombinationFilter A CombinationFilter is a StringFilter that combines several other StringFilters into one.ConditionalMapper Provides a character mapper which is activated when a specific character is encountered.ConditionalMapper.Builder Creates a new mapper builder.FilterLocale Custom Locale implementation.IdentityFilter Provides an identity filter, in other words the input is returned unchanged.RegexFilter Implements StringFilter using a regex pattern.SimpleUCharReplacer Provides substitution for unicode characters with replacement strings.SplitResult Data object returned by StringSplitter containing a sub sequence along with match status for the sub sequence.StringSplitter Provides a method for splitting a CharSequence using regex where both matching and non matching sub sequences are retained.StringTools StringTools is a utility class for simple static operations related to strings.TextFileReader Provides a simple tool to read text files with multiple fields on each row, such as csv-files.TextFileReader.Builder Provides a builder for a text file reader.UCharFilter Implements StringFilter using UCharReplacer. -
Enum Summary Enum Description CaseFilter.Mode Filter modes.