in src/java/org/apache/fulcrum/parser/StringValueParser.java [44:75]
public void parse(String s, char delim, boolean urlDecode)
throws Exception
{
String delimChar = String.valueOf(delim);
StringTokenizer st = new StringTokenizer(s, delimChar);
boolean isNameTok = true;
String pathPart = null;
String key = null;
while (st.hasMoreTokens())
{
String tok = st.nextToken();
if ( urlDecode )
{
tok = URLDecoder.decode(tok, getCharacterEncoding());
}
if (isNameTok)
{
key = tok;
isNameTok = false;
}
else
{
pathPart = tok;
if (key != null && key.length() > 0)
{
add (convert(key), pathPart);
}
isNameTok = true;
}
}
}