com.google.gwt.app.client
Class IntegerParser
java.lang.Object
com.google.gwt.app.client.IntegerParser
- All Implemented Interfaces:
- Parser<java.lang.Integer>
public class IntegerParser
- extends java.lang.Object
- implements Parser<java.lang.Integer>
Experimental API: This class is still under rapid
development, and is very likely to be deleted. Use it at your own risk.
A simple unlocalized parser based on Integer.valueOf(String).
|
Method Summary |
static Parser<java.lang.Integer> |
instance()
|
java.lang.Integer |
parse(java.lang.CharSequence object)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
public static Parser<java.lang.Integer> instance()
- Returns:
- the instance of the no-op renderer
parse
public java.lang.Integer parse(java.lang.CharSequence object)
throws java.text.ParseException
- Specified by:
parse in interface Parser<java.lang.Integer>
- Throws:
java.text.ParseException