java.lang.Object | |
↳ | org.springframework.format.number.AbstractNumberFormatter |
Known Direct Subclasses |
Abstract formatter for Numbers,
providing a getNumberFormat(java.util.Locale)
template method.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Parse a text String to produce a T.
| |||||||||||
Specify whether or not parsing is to be lenient.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Obtain a concrete NumberFormat for the specified locale.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.format.Parser
| |||||||||||
From interface
org.springframework.format.Printer
|
Parse a text String to produce a T.
text | the text string |
---|---|
locale | the current user locale |
ParseException |
---|
Specify whether or not parsing is to be lenient. Default is false.
With lenient parsing, the parser may allow inputs that do not precisely match the format. With strict parsing, inputs must match the format exactly.
Obtain a concrete NumberFormat for the specified locale.
locale | the current locale |
---|
null
)