Package org.dellroad.stuff.text
package org.dellroad.stuff.text
Text handling classes.
-
ClassDescriptionPOJO representing a
MessageFormatthat models its internal structure, supporting arbitrary recursive nesting ofMessageFormatwithChoiceFormat.AMessageFmt.Segmentwithin aMessageFormatpattern that formats one of the arguments.AnMessageFmt.ArgumentSegmentthat formats its argument using aChoiceFormat.Represents one option in aMessageFmt.ChoiceArgumentSegment.AnMessageFmt.ArgumentSegmentthat formats its argument using theNumberFormatcurrency instance for the locale.MessageFmt.DateFormatArgumentSegment<T extends DateFormat>AMessageFormatargument segment that formats the argument using aDateFormat.Enumerates the standard, pre-defined formats for dates and times inDateFormat.AnMessageFmt.ArgumentSegmentthat formats its argument using aDecimalFormat.AnMessageFmt.ArgumentSegmentthat simply formats the argument using the default formatting for its type.AnMessageFmt.ArgumentSegmentthat formats its argument using the defaultNumberFormatfor the locale.MessageFmt.FormatArgumentSegment<T extends Format>AnMessageFmt.ArgumentSegmentthat formats its argument using aFormatof some kind.AnMessageFmt.ArgumentSegmentthat formats its argument using theNumberFormatinteger instance for the locale.AnMessageFmt.ArgumentSegmentthat formats its argument using aNumberFormat.AnMessageFmt.ArgumentSegmentthat formats its argument using theNumberFormatpercent instance for the locale.Represents one atomic portion of aMessageFormatpattern string.Visitor pattern interface forMessageFmt.Segmentsubclasses.Adapter class forMessageFmt.SegmentSwitchimplementations.AMessageFormatargument segment that formats the argument using aSimpleDateFormat.AnMessageFmt.ArgumentSegmentthat formats its argument using one of the standardDateFormatdate instances for the locale.AnMessageFmt.ArgumentSegmentthat formats its argument using one of the standardDateFormattime instances for the locale.Represents a stretch of plain text in aMessageFormatpattern string.