|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.commons.validator.ValidatorUtil
Basic utility methods.
| Field Summary | |
protected static org.apache.commons.logging.Log |
log
Deprecated. Subclasses should use their own logging instance. |
static String |
REGEXP_DELIMITER
Deprecated. Use "/" directly. |
| Constructor Summary | |
ValidatorUtil()
Deprecated. |
|
| Method Summary | |
static org.apache.commons.collections.FastHashMap |
copyFastHashMap(org.apache.commons.collections.FastHashMap map)
Deprecated. Makes a deep copy of a FastHashMap if the values
are String, Msg, Arg,
or Var. |
static String |
getDelimitedRegExp(String regexp)
Deprecated. Use "/" directly. |
static String |
getValueAsString(Object bean,
String property)
Deprecated. Convenience method for getting a value from a bean property as a String. |
static String |
replace(String value,
String key,
String replaceValue)
Deprecated. Replace part of a String with another value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String REGEXP_DELIMITER
protected static org.apache.commons.logging.Log log
| Constructor Detail |
public ValidatorUtil()
| Method Detail |
public static String replace(String value,
String key,
String replaceValue)
Replace part of a String with another value.
value - String to perform the replacement on.key - The name of the constant.replaceValue - The value of the constant.
public static String getValueAsString(Object bean,
String property)
String.
public static org.apache.commons.collections.FastHashMap copyFastHashMap(org.apache.commons.collections.FastHashMap map)
FastHashMap if the values
are String, Msg, Arg,
or Var. Otherwise it is a shallow copy.
map - FastHashMap to copy.
FastHashMap that was
passed in.public static String getDelimitedRegExp(String regexp)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||