|
jMobileCore toolkit | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.jmobilecore.support.Convert
public class Convert
This class contains convertions methods
| Constructor Summary | |
|---|---|
Convert()
|
|
| Method Summary | |
|---|---|
static boolean |
toBoolean(java.lang.Object obj,
boolean defValue)
Converts object to the boolean value |
static int |
toInteger(java.lang.Object obj,
int defValue)
Converts object to the int value |
static long |
toLong(java.lang.Object obj,
long defValue)
Converts object to the long value |
static java.lang.String |
toString(java.lang.Object obj,
java.lang.String defValue)
Converts object to the String value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Convert()
| Method Detail |
|---|
public static boolean toBoolean(java.lang.Object obj,
boolean defValue)
boolean value
obj - the object for convertiondefValue - the default value used if obj is null
int representing obj parameter
public static int toInteger(java.lang.Object obj,
int defValue)
int value
obj - the object for convertiondefValue - the default value used if obj is null
int representing obj parameter
public static long toLong(java.lang.Object obj,
long defValue)
long value
obj - the object for convertiondefValue - the default value used if obj is null
long representing obj parameter
public static java.lang.String toString(java.lang.Object obj,
java.lang.String defValue)
String value
obj - the object for convertiondefValue - the default value used if obj is null
String representing obj parameter
|
jMobileCore toolkit | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||