| java.lang.Object org.mmbase.util.StringSplitter
StringSplitter | public class StringSplitter (Code) | | Utility class for splitting delimited values.
author: Pierre van Rooden author: Kees Jongenburger author: Michiel Meeuwissen version: $Id: StringSplitter.java,v 1.10 2007/02/11 19:21:11 nklasens Exp $ |
split | public static List<String> split(String string, String delimiter)(Code) | | Simple util method to split delimited values to a list. Useful for attributes.
Similar to String.split() , but returns a List instead of an array, and trims the values.
Parameters: string - the string to split Parameters: delimiter - a (modifiable) List containing the elements |
splitFunctions | public static List<String> splitFunctions(CharSequence attribute)(Code) | | Splits up a String, (using comma delimiter), but takes into account brackets. So
a(b,c,d),e,f(g) will be split up in a(b,c,d) and e and f(g).
since: MMBase-1.8 |
|
|