com.google.gwt.app.client
Class DoubleParser
java.lang.Object
com.google.gwt.app.client.DoubleParser
- All Implemented Interfaces:
- Parser<java.lang.Double>
public class DoubleParser
- extends java.lang.Object
- implements Parser<java.lang.Double>
Experimental API: This class is still under rapid
development, and is very likely to be deleted. Use it at your own risk.
Simple unlocalized parser of Double that wraps Double.valueOf(String).
|
Method Summary |
static Parser<java.lang.Double> |
instance()
|
java.lang.Double |
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.Double> instance()
- Returns:
- the instance of the no-op renderer
parse
public java.lang.Double parse(java.lang.CharSequence object)
throws java.text.ParseException
- Specified by:
parse in interface Parser<java.lang.Double>
- Throws:
java.text.ParseException