|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.util.convert.IntegerConversionUtil
public abstract class IntegerConversionUtil
Integer用の変換ユーティリティです。
| コンストラクタの概要 | |
|---|---|
IntegerConversionUtil()
|
|
| メソッドの概要 | |
|---|---|
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 |
| コンストラクタの詳細 |
|---|
public IntegerConversionUtil()
| メソッドの詳細 |
|---|
public static Integer toInteger(Object o)
Integerに変換します。
o - 変換元のオブジェクト
Integer
public static Integer toInteger(Object o,
String pattern)
Integerに変換します。
o - 変換元のオブジェクトpattern - パターン文字列
Integerpublic static int toPrimitiveInt(Object o)
o - 変換元のオブジェクト
public static int toPrimitiveInt(Object o,
String pattern)
o - 変換元のオブジェクトpattern - パターン文字列
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||