T
- the type of object this Parser producespublic interface Parser<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