站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

ParameterValidation - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.common.util
Class ParameterValidation

java.lang.Object
  extended byorg.jboss.portal.common.util.ParameterValidation

public class ParameterValidation
extends java.lang.Object

Since:
2.4 (May 31, 2006)

Constructor Summary
ParameterValidation()
           
 
Method Summary
static void checkStringValidity(java.lang.String valueToCheck, java.lang.String valueName, java.lang.String contextName)
           
static void throwIllegalArgExceptionIfEmpty(java.lang.String valueToTest, java.lang.String name)
           
static void throwIllegalArgExceptionIfNull(java.lang.Object objectToTest, java.lang.String name)
           
static void throwIllegalArgExceptionIfNullOrEmpty(java.lang.String valueToTest, java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterValidation

public ParameterValidation()
Method Detail

checkStringValidity

public static void checkStringValidity(java.lang.String valueToCheck,
                                       java.lang.String valueName,
                                       java.lang.String contextName)

throwIllegalArgExceptionIfNull

public static void throwIllegalArgExceptionIfNull(java.lang.Object objectToTest,
                                                  java.lang.String name)

throwIllegalArgExceptionIfNullOrEmpty

public static void throwIllegalArgExceptionIfNullOrEmpty(java.lang.String valueToTest,
                                                         java.lang.String name)

throwIllegalArgExceptionIfEmpty

public static void throwIllegalArgExceptionIfEmpty(java.lang.String valueToTest,
                                                   java.lang.String name)