Package org.codehaus.groovy.tools
Class StringHelper
java.lang.Object
org.codehaus.groovy.tools.StringHelper
public class StringHelper
extends java.lang.Object
- 
Constructor SummaryConstructors Constructor Description StringHelper()
- 
Method SummaryModifier and Type Method Description static java.lang.String[]tokenizeUnquoted(java.lang.String s)This method tokenizes a string by space characters, but ignores spaces in quoted parts,that are parts in '' or "".Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Constructor Details- 
StringHelperpublic StringHelper()
 
- 
- 
Method Details- 
tokenizeUnquotedpublic static java.lang.String[] tokenizeUnquoted(java.lang.String s)This method tokenizes a string by space characters, but ignores spaces in quoted parts,that are parts in '' or "". The method does allows the usage of "" in '' and '' in "". The space character between tokens is not returned.- Parameters:
- s- the string to tokenize
- Returns:
- the tokens
 
 
-