|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.montsuqi.util.ParameterConverter
public class ParameterConverter
An utility class for converting string to other types.
| Method Summary | |
|---|---|
static boolean |
toBoolean(java.lang.String s)
Converts the given string into boolean. |
double |
toDouble(java.lang.String s)
Converts the given string into double. |
static int |
toInteger(java.lang.String s)
Converts the given string into integer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static int toInteger(java.lang.String s)
Converts the given string into integer.
s - the string to convert.public static boolean toBoolean(java.lang.String s)
Converts the given string into boolean.
s - the string to convert.
public double toDouble(java.lang.String s)
Converts the given string into double.
s - the string to convert.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||