org.apache.wicket.util.parse.metapattern.parsers
Class CommaSeparatedVariableParser
java.lang.Object
org.apache.wicket.util.parse.metapattern.parsers.MetaPatternParser
org.apache.wicket.util.parse.metapattern.parsers.ListParser
org.apache.wicket.util.parse.metapattern.parsers.CommaSeparatedVariableParser
public final class CommaSeparatedVariableParser
- extends ListParser
Parses out strings separated by commas.
Notes:
- It'll not trim the elements (it'll not remove whitespace)
- It is able to handle quotes like "a", 'b', "b,c" etc..
- But no escapes like "c\"d"
- Empty list elements like "a,," are not supported. It'll return the "a" only.
- Author:
- Jonathan Locke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommaSeparatedVariableParser
public CommaSeparatedVariableParser(CharSequence input)
- Construct a new parser with parameter 'input' to be parsed. Base classes provide the method
to access the elements of the input parsed.
- Parameters:
input
- to parse
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.