jwo.utils.dbase
Class NumberParser
java.lang.Object
jwo.utils.dbase.NumberParser
- public final class NumberParser
- extends Object
Various number parsing utilities. This code is based
on the class provided as part of the Geotools OpenSource mapping
toolkit - www.geotools.org/
under the GNU Lesser General Public License.
- Version:
- 2.2, 8th November, 2004.
- Author:
- Geotools/GISToolkit modified by Jo Wood.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NumberParser
public NumberParser()
parseInt
public int parseInt(String s)
throws NumberFormatException
- Throws:
NumberFormatException
parseInt
public int parseInt(CharSequence s,
int start,
int end)
throws NumberFormatException
- Throws:
NumberFormatException
parseLong
public long parseLong(String s)
parseLong
public long parseLong(CharSequence s,
int start,
int end)
throws NumberFormatException
- Throws:
NumberFormatException
parseDouble
public double parseDouble(String s)
throws NumberFormatException
- Throws:
NumberFormatException
parseDouble
public double parseDouble(CharSequence s,
int start,
int end)
throws NumberFormatException
- Throws:
NumberFormatException
doubleValue
public double doubleValue()
Copyright Jo Wood, 1996-2005, last modified, 11th March, 2005