T - the type of object this Parser producespublic interface Parser<T>
| Modifier and Type | Method and Description |
|---|---|
T |
parse(java.lang.String text,
java.util.Locale locale)
Parse a text String to produce a T.
|
T parse(java.lang.String text, java.util.Locale locale) throws java.text.ParseException
text - the text stringlocale - the current user localejava.text.ParseException - when a parse exception occurs in a java.text parsing libraryjava.lang.IllegalArgumentException - when a parse exception occurs