Package org.dellroad.stuff.text
package org.dellroad.stuff.text
Text handling classes.
-
ClassDescriptionPOJO representing a
MessageFormat
that models its internal structure, supporting arbitrary recursive nesting ofMessageFormat
withChoiceFormat
.AMessageFmt.Segment
within aMessageFormat
pattern that formats one of the arguments.AnMessageFmt.ArgumentSegment
that formats its argument using aChoiceFormat
.Represents one option in aMessageFmt.ChoiceArgumentSegment
.AnMessageFmt.ArgumentSegment
that formats its argument using theNumberFormat
currency instance for the locale.MessageFmt.DateFormatArgumentSegment<T extends DateFormat>AMessageFormat
argument segment that formats the argument using aDateFormat
.Enumerates the standard, pre-defined formats for dates and times inDateFormat
.AnMessageFmt.ArgumentSegment
that formats its argument using aDecimalFormat
.AnMessageFmt.ArgumentSegment
that simply formats the argument using the default formatting for its type.AnMessageFmt.ArgumentSegment
that formats its argument using the defaultNumberFormat
for the locale.MessageFmt.FormatArgumentSegment<T extends Format>AnMessageFmt.ArgumentSegment
that formats its argument using aFormat
of some kind.AnMessageFmt.ArgumentSegment
that formats its argument using theNumberFormat
integer instance for the locale.AnMessageFmt.ArgumentSegment
that formats its argument using aNumberFormat
.AnMessageFmt.ArgumentSegment
that formats its argument using theNumberFormat
percent instance for the locale.Represents one atomic portion of aMessageFormat
pattern string.Visitor pattern interface forMessageFmt.Segment
subclasses.Adapter class forMessageFmt.SegmentSwitch
implementations.AMessageFormat
argument segment that formats the argument using aSimpleDateFormat
.AnMessageFmt.ArgumentSegment
that formats its argument using one of the standardDateFormat
date instances for the locale.AnMessageFmt.ArgumentSegment
that formats its argument using one of the standardDateFormat
time instances for the locale.Represents a stretch of plain text in aMessageFormat
pattern string.