Package com.hazelcast.buildutils
Class ElementParser
java.lang.Object
com.hazelcast.buildutils.ElementParser
Originally taken from JBOSS project (thanks guys, great work)
 Original class: org.jboss.osgi.metadata.spi.ElementParser -> JBossOSGi Resolver Metadata
- Author:
 - Thomas.Diesler@jboss.com
 
- 
Method Summary
Modifier and TypeMethodDescriptionparseDelimitedString(String value, char delimiter) parseDelimitedString(String value, char delimiter, boolean trim) Parses delimited string and returns an array containing the tokens. 
- 
Method Details
- 
parseDelimitedString
 - 
parseDelimitedString
Parses delimited string and returns an array containing the tokens. This parser obeys quotes, so the delimiter character will be ignored if it is inside of a quote. This method assumes that the quote character is not included in the set of delimiter characters.- Parameters:
 value- the delimited string to parse.delimiter- the characters delimiting the tokens.trim- whether to trim the parts.- Returns:
 - an array of string tokens or null if there were no tokens.
 
 
 -