-
public interface NlsVariableParser
-
-
Field Summary
Fields Modifier and Type Field Description static charEND_EXPRESSIONThe character used to end a variable expression: 125static charFORMAT_SEPARATORThe character used to separate format type and style: 44static charSTART_EXPRESSIONThe character used to start a variable expression: 123
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static NlsVariableParserget()NlsVariableparse(CharSequenceScanner scanner)This method parses theinternationalized messagegiven asCharSequenceScannerpointing 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 messagegiven asCharSequenceScannerpointing the beginning of an argument (immediately afterSTART_EXPRESSION).- Parameters:
scanner- is theCharSequenceScanner.- Returns:
- the according
NlsFormatterinstance. - See Also:
NlsFormatterManager.getFormatter(String, String)
-
get
static NlsVariableParser get()
- Returns:
- the instance of
NlsVariableParser.
-
-