org.apache.commons.validator
クラス ValidatorUtil

java.lang.Object
  拡張org.apache.commons.validator.ValidatorUtil

public class ValidatorUtil
extends Object

基本的なユーティリティメソッド郡。

Basic utility methods.

バージョン:
$Revision: 1.1.1.1 $ $Date: 2004/02/13 10:02:01 $
作成者:
David Winterfeldt
翻訳者:
日置 聡
翻訳状況:
中断(訳者募集中)
翻訳更新日:
2003/07/28

フィールドの概要
protected static org.apache.commons.logging.Log log
          Logger
 
コンストラクタの概要
ValidatorUtil()
           
 
メソッドの概要
static org.apache.commons.collections.FastHashMap copyFastHashMap(org.apache.commons.collections.FastHashMap map)
          Makes a deep copy of a FastHashMap if the values are String, Msg, Arg, or Var.
static String getValueAsString(Object bean, String property)
          Convenience method for getting a value from a bean property as a String.
static String replace(String value, String key, String replaceValue)
          Replace part of a String with another value.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

log

protected static org.apache.commons.logging.Log log
Logger

コンストラクタの詳細

ValidatorUtil

public ValidatorUtil()
メソッドの詳細

replace

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.

getValueAsString

public static String getValueAsString(Object bean,
                                      String property)
Convenience method for getting a value from a bean property as a String.


copyFastHashMap

public static org.apache.commons.collections.FastHashMap copyFastHashMap(org.apache.commons.collections.FastHashMap map)
Makes a deep copy of a FastHashMap if the values are String, Msg, Arg, or Var. Otherwise it is a shallow copy.

パラメータ:
map - FastHashMap to copy.
戻り値:
FastHashMap A copy of the FastHashMap that was passed in.


このドキュメントは、Ja-Jakartaにより訳されました。 コメントがある場合は report@jajakarta.orgまでお願いします。
Translated into Japanese by jajakarta.org. The original page is here.
Copyright (c) 2002-2003 - Apache Software Foundation