| java.lang.Object dinamica.ValidatorUtil
ValidatorUtil | public class ValidatorUtil (Code) | | Utility class to validate String values against data types
in order to test if the value represents de data type (dates, numbers, etc.)
Creation date: 25/10/2003
Last Update: 25/10/2003
(c) 2003 Martin Cordova
This code is released under the LGPL license
author: Martin Cordova |
testDate | public static Date testDate(String dateValue, String dateFormat)(Code) | | Test a String value to check if it does represent
a valid date according to a specific format
Parameters: dateValue - Value to test Parameters: dateFormat - Date format used to represent a date in value NULL if value can't be converted |
testDouble | public static Double testDouble(String doubleValue)(Code) | | Test a String value to check if it does represent
a valid double number
Parameters: doubleValue - Value to test NULL if value can't be converted |
testInteger | public static Integer testInteger(String integerValue)(Code) | | Test a String value to check if it does represent
a valid integer number
Parameters: integerValue - Value to test NULL if value can't be converted |
|
|