protected static class NlsMessageFormatterImpl.PatternSegment extends Object
NlsMessageFormatterImpl.PatternSegment
s. The
first has a prefix
of "Hi "
and argument
of {0}
and the second has " you have "
as prefix
and argument
of
{1}
. The rest of the pattern which is " items!"
will be stored in
suffix
.Modifier and Type | Field and Description |
---|---|
private NlsArgument |
argument |
private String |
prefix |
Constructor and Description |
---|
PatternSegment(String prefix,
NlsArgument argument)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
NlsArgument |
getArgument()
This method gets the
NlsArgument . |
String |
getPrefix()
This method gets the prefix.
|
String |
toString() |
private final String prefix
private final NlsArgument argument
public PatternSegment(String prefix, NlsArgument argument)
public String getPrefix()
public NlsArgument getArgument()
NlsArgument
.Copyright © 2001–2016 mmm-Team. All rights reserved.