org.seasar.framework.util
クラス IntegerConversionUtil

java.lang.Object
  拡張org.seasar.framework.util.IntegerConversionUtil

public final class IntegerConversionUtil
extends Object

Integer用の変換ユーティリティです。

作成者:
higa

メソッドの概要
static Integer toInteger(Object o)
          Integerに変換します。
static Integer toInteger(Object o, String pattern)
          Integerに変換します。
static int toPrimitiveInt(Object o)
          intに変換します。
static int toPrimitiveInt(Object o, String pattern)
          intに変換します。
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

toInteger

public static Integer toInteger(Object o)
Integerに変換します。

パラメータ:
o -
戻り値:
Integer

toInteger

public static Integer toInteger(Object o,
                                String pattern)
Integerに変換します。

パラメータ:
o -
pattern -
戻り値:
Integer

toPrimitiveInt

public static int toPrimitiveInt(Object o)
intに変換します。

パラメータ:
o -
戻り値:
int

toPrimitiveInt

public static int toPrimitiveInt(Object o,
                                 String pattern)
intに変換します。

パラメータ:
o -
pattern -
戻り値:
int


Copyright ? 2004-2008 The Seasar Foundation. All Rights Reserved.