public class Parser
extends java.lang.Object
Constructor | Description |
---|---|
Parser() |
Modifier and Type | Method | Description |
---|---|---|
static java.lang.String[] |
string2Array(java.lang.String in,
char token) |
Parse a String into an array
|
static java.lang.String[] |
string2Array(java.lang.String in,
char token,
int count) |
Parse a String to an array
|
static java.lang.String[] |
string2Array(java.lang.String in,
java.lang.String token) |
Parse a String to an array
|
static java.lang.String[] |
string2Array(java.lang.String in,
java.lang.String token,
int count) |
Parse a String to an array
|
static boolean |
string2Boolean(java.lang.String in) |
Parse a String to a boolean
|
static double |
string2Double(java.lang.String in) |
Parse a String to a double
|
static float |
string2Float(java.lang.String in) |
Parse a String to a float
|
static int |
string2Int(java.lang.String in) |
Parse a String to an int type
|
static long |
string2Long(java.lang.String in) |
Parse a String to a long
|
public static boolean string2Boolean(java.lang.String in)
in
- public static int string2Int(java.lang.String in)
in
- public static long string2Long(java.lang.String in)
in
- public static float string2Float(java.lang.String in)
in
- public static double string2Double(java.lang.String in)
in
- public static java.lang.String[] string2Array(java.lang.String in, char token)
in
- token
- public static java.lang.String[] string2Array(java.lang.String in, java.lang.String token)
in
- token
- public static java.lang.String[] string2Array(java.lang.String in, char token, int count)
in
- token
- count
- public static java.lang.String[] string2Array(java.lang.String in, java.lang.String token, int count)
in
- token
- count
-