Uses of Class
org.dellroad.stuff.text.MessageFmt.Segment
-
Uses of MessageFmt.Segment in org.dellroad.stuff.text
Modifier and TypeClassDescriptionstatic class
AMessageFmt.Segment
within aMessageFormat
pattern that formats one of the arguments.static class
AnMessageFmt.ArgumentSegment
that formats its argument using aChoiceFormat
.static class
AnMessageFmt.ArgumentSegment
that formats its argument using theNumberFormat
currency instance for the locale.static class
MessageFmt.DateFormatArgumentSegment<T extends DateFormat>
AMessageFormat
argument segment that formats the argument using aDateFormat
.static class
AnMessageFmt.ArgumentSegment
that formats its argument using aDecimalFormat
.static class
AnMessageFmt.ArgumentSegment
that simply formats the argument using the default formatting for its type.static class
AnMessageFmt.ArgumentSegment
that formats its argument using the defaultNumberFormat
for the locale.static class
MessageFmt.FormatArgumentSegment<T extends Format>
AnMessageFmt.ArgumentSegment
that formats its argument using aFormat
of some kind.static class
AnMessageFmt.ArgumentSegment
that formats its argument using theNumberFormat
integer instance for the locale.static class
AnMessageFmt.ArgumentSegment
that formats its argument using aNumberFormat
.static class
AnMessageFmt.ArgumentSegment
that formats its argument using theNumberFormat
percent instance for the locale.static class
AMessageFormat
argument segment that formats the argument using aSimpleDateFormat
.static class
AnMessageFmt.ArgumentSegment
that formats its argument using one of the standardDateFormat
date instances for the locale.static class
AnMessageFmt.ArgumentSegment
that formats its argument using one of the standardDateFormat
time instances for the locale.static class
Represents a stretch of plain text in aMessageFormat
pattern string.Modifier and TypeMethodDescription@NotNull @Valid List<@NotNull MessageFmt.Segment>
MessageFmt.getSegments()
Get the individual components of this message format.Modifier and TypeMethodDescriptionprotected void
MessageFmt.SegmentSwitchAdapter.caseSegment
(MessageFmt.Segment segment) Internal roll-up method.ModifierConstructorDescriptionMessageFmt
(MessageFmt.Segment... segments) Create an instance from explicitly givenMessageFmt.Segment
s.