|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.util.convert.LongConversionUtil
public abstract class LongConversionUtil
Long用の変換ユーティリティです。
| コンストラクタの概要 | |
|---|---|
LongConversionUtil()
|
|
| メソッドの概要 | |
|---|---|
static Long |
toLong(Object o)
Longに変換します。 |
static Long |
toLong(Object o,
String pattern)
Longに変換します。 |
static long |
toPrimitiveLong(Object o)
変換されたlongに変換します。 |
static long |
toPrimitiveLong(Object o,
String pattern)
longに変換します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public LongConversionUtil()
| メソッドの詳細 |
|---|
public static Long toLong(Object o)
Longに変換します。
o - 変換元のオブジェクト
Long
public static Long toLong(Object o,
String pattern)
Longに変換します。
o - 変換元のオブジェクトpattern - パターン文字列
Longpublic static long toPrimitiveLong(Object o)
o - 変換元のオブジェクト
public static long toPrimitiveLong(Object o,
String pattern)
o - 変換元のオブジェクトpattern - パターン文字列
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||