org.opengts.util
Class StringTools.FilterNumber
java.lang.Object
org.opengts.util.StringTools.FilterNumber
- Enclosing class:
- StringTools
public static class StringTools.FilterNumber
- extends java.lang.Object
Class used to parse numeric values
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StringTools.FilterNumber
public StringTools.FilterNumber(java.lang.String val,
java.lang.Class<?> type)
supportsType
public <T> boolean supportsType(java.lang.Class<T> ct)
getInputString
public java.lang.String getInputString()
getClassType
public java.lang.Class getClassType()
getClassTypeName
public java.lang.String getClassTypeName()
isHex
public boolean isHex()
getValueString
public java.lang.String getValueString()
hasDecimalPoint
public boolean hasDecimalPoint()
isValid
public boolean isValid(boolean strict)
getStart
public int getStart()
getEnd
public int getEnd()
getLength
public int getLength()
toNumber
public java.lang.Number toNumber(java.lang.Number dft)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object