Method Detail
stringToInt
public static int stringToInt(java.lang.String value,int defvalue)
stringToInt quickly converts a String value to an int, returning a default value if a conversion error occurs.
Parameters:
value - The value to convert
defvalue - The default value to return
Returns:The converted value
--------------------------------------------------------------------------------
stringToInt
public static int stringToInt(java.lang.String value)
stringToInt quickly converts a String value to an int, returning 0 if a conversion error occurs.
Parameters:
value - The value to convert
Returns:The converted value