|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.csstudio.java.string.StringSplitter
public class StringSplitter
Split string into segments
StringUtil.splitIgnoreInQuotes()
Method Summary | |
---|---|
static java.lang.String[] |
splitIgnoreInQuotes(java.lang.String source,
char splitChar,
boolean deleteHeadTailQuotes)
Split source string into an array of elements separated by the splitting character, but ignoring split characters enclosed in quotes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String[] splitIgnoreInQuotes(java.lang.String source, char splitChar, boolean deleteHeadTailQuotes) throws java.lang.Exception
trimmedSource
- String to be splitsplitChar
- Character used to split the source string, e.g. ',' or ' 'deleteHeadTailQuotes
- Delete quotes in the head and tail of individual elements
if true
java.lang.Exception
- on parse error (missing end of quoted string)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |