public class ValidatorUtil
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log
Deprecated.
Subclasses should use their own logging instance.
|
static java.lang.String |
REGEXP_DELIMITER
Deprecated.
Use "/" directly.
|
| Constructor and Description |
|---|
ValidatorUtil()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
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 java.lang.String |
getDelimitedRegExp(java.lang.String regexp)
Deprecated.
Use "/" directly.
|
static java.lang.String |
getValueAsString(java.lang.Object bean,
java.lang.String property)
Deprecated.
Convenience method for getting a value from a bean property as a
String. |
static java.lang.String |
replace(java.lang.String value,
java.lang.String key,
java.lang.String replaceValue)
Deprecated.
Replace part of a
String with another value. |
public static final java.lang.String REGEXP_DELIMITER
protected static org.apache.commons.logging.Log log
public static java.lang.String replace(java.lang.String value,
java.lang.String key,
java.lang.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 java.lang.String getValueAsString(java.lang.Object bean,
java.lang.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 java.lang.String getDelimitedRegExp(java.lang.String regexp)
Copyright (c) 2001-2004 Apache Software Foundation