public class ParserUtils extends Object
Constructor and Description |
---|
ParserUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
findClossingBracketPosition(int openBracket,
String line,
char init,
char end) |
static String |
getParameter(String name,
String line) |
static Hashtable<String,Object> |
getProperties(String properties) |
static Object |
getProperty(String value,
String type) |
static Hashtable<String,Object> |
JSONStringToHashtable(String string) |
static String[] |
parseArrays(String str)
Parses the string form of an array as {a, b, c}
|
static List<String> |
parseArraysAsList(String str)
Parses the string form of an array as {a, b, c} as a list.
|
static String[] |
split(String toSplit,
String separator)
Split method.
|
public static int findClossingBracketPosition(int openBracket, String line, char init, char end)
public static String[] split(String toSplit, String separator)
toSplit
- the String to splitseparator
- the separatorpublic static List<String> parseArraysAsList(String str)
str
- the string formpublic static String[] parseArrays(String str)
str
- the string formCopyright © 2012-2013 Adele Team | LIG. All Rights Reserved.