|
SWIXML 1.6 (#161) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.swixml.converters.Util
public final class Util
Util. Class with static helper methods
| Constructor Summary | |
|---|---|
Util()
|
|
| Method Summary | |
|---|---|
static String |
capitalize(String s)
Return a capitalized version of the specified property name. |
static double[] |
da(StringTokenizer st)
Returns the remaining tokens of a StringTokenizer in a double-Array |
static int |
getInteger(Element element,
String attr,
int def)
Returns the integer value of the given XML attribute; or the default value. |
static int[] |
ia(StringTokenizer st)
Returns the remaining tokens of a StringTokenizer in an int-Array |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Util()
| Method Detail |
|---|
public static int[] ia(StringTokenizer st)
st - StringTokenizer
int[] array containing the remaining tokens converted into int(s)public static double[] da(StringTokenizer st)
st - StringTokenizer
double[] array containing the remaining tokens converted into double(s)public static final String capitalize(String s)
s - String The property name
String given String with 1st letter capitalized
public static final int getInteger(Element element,
String attr,
int def)
|
SWIXML 1.6 (#161) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||