|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrepast.simphony.parameter.ListTokenizer
public class ListTokenizer
Tokenizes lists and ranges of strings, numbers and booleans into their individual elements.
| Constructor Summary | |
|---|---|
ListTokenizer()
|
|
| Method Summary | |
|---|---|
static Boolean[] |
parseBooleanValues(String values,
String name)
Parses a space delimited list of strings into an array of boolean values. |
static Byte[] |
parseByteValues(String values,
String name)
Parses a space delimited list of strings into an array of Byte values. |
static Double[] |
parseDoubleValues(String values,
String name)
Parses a space delimited list of strings into an array of Double values. |
static Float[] |
parseFloatValues(String values,
String name)
Parses a space delimited list of strings into an array of Float values. |
static Integer[] |
parseIntValues(String values,
String name)
Parses a space delimited list of strings into an array of Integer values. |
static Long[] |
parseLongValues(String values,
String name)
Parses a space delimited list of strings into an array of Long values. |
static Short[] |
parseShortValues(String values,
String name)
Parses a space delimited list of strings into an array of Short values. |
static String[] |
parseStringValues(String values)
Parses a space delimited list of strings into an array of individual String values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListTokenizer()
| Method Detail |
|---|
public static Boolean[] parseBooleanValues(String values,
String name)
throws ParameterFormatException
values - the values to tokenizename - the name of the parameter
ParameterFormatException - if there is an error in the tokenization or
conversion.
public static Float[] parseFloatValues(String values,
String name)
throws ParameterFormatException
values - the values to tokenizename - the name of the parameter
ParameterFormatException - if there is an error in the tokenization or
conversion.
public static Long[] parseLongValues(String values,
String name)
throws ParameterFormatException
values - the values to tokenizename - the name of the parameter
ParameterFormatException - if there is an error in the tokenization or
conversion.
public static Double[] parseDoubleValues(String values,
String name)
throws ParameterFormatException
values - the values to tokenizename - the name of the parameter
ParameterFormatException - if there is an error in the tokenization or
conversion.
public static Byte[] parseByteValues(String values,
String name)
throws ParameterFormatException
values - the values to tokenizename - the name of the parameter
ParameterFormatException - if there is an error in the tokenization or
conversion.
public static Short[] parseShortValues(String values,
String name)
throws ParameterFormatException
values - the values to tokenizename - the name of the parameter
ParameterFormatException - if there is an error in the tokenization or
conversion.
public static Integer[] parseIntValues(String values,
String name)
throws ParameterFormatException
values - the values to tokenizename - the name of the parameter
ParameterFormatException - if there is an error in the tokenization or
conversion.public static String[] parseStringValues(String values)
values - the values to tokenize
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||