-
public interface NlsVariableParser
-
-
Field Summary
Fields Modifier and Type Field Description static char
END_EXPRESSION
The character used to end a variable expression: 125static char
FORMAT_SEPARATOR
The character used to separate format type and style: 44static char
START_EXPRESSION
The character used to start a variable expression: 123
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static NlsVariableParser
get()
NlsVariable
parse(CharSequenceScanner scanner)
This method parses theinternationalized message
given asCharSequenceScanner
pointing the beginning of an argument (immediately afterSTART_EXPRESSION
).
-
-
-
Field Detail
-
START_EXPRESSION
static final char START_EXPRESSION
The character used to start a variable expression: 123- See Also:
- Constant Field Values
-
END_EXPRESSION
static final char END_EXPRESSION
The character used to end a variable expression: 125- See Also:
- Constant Field Values
-
FORMAT_SEPARATOR
static final char FORMAT_SEPARATOR
The character used to separate format type and style: 44- See Also:
- Constant Field Values
-
-
Method Detail
-
parse
NlsVariable parse(CharSequenceScanner scanner)
This method parses theinternationalized message
given asCharSequenceScanner
pointing the beginning of an argument (immediately afterSTART_EXPRESSION
).- Parameters:
scanner
- is theCharSequenceScanner
.- Returns:
- the according
NlsFormatter
instance. - See Also:
NlsFormatterManager.getFormatter(String, String)
-
get
static NlsVariableParser get()
- Returns:
- the instance of
NlsVariableParser
.
-
-