public static Map<String,String> parseNamedParameters(String tagValue){
  Map<String,String> paramMap=new LinkedHashMap<String,String>();
  StreamTokenizer tokenizer=makeTokenizer(tagValue);
  try {
    while (tokenizer.nextToken() == StreamTokenizer.TT_WORD) {
      String key=tokenizer.sval;
      if (tokenizer.nextToken() != '=') {
        break;
      }
switch (tokenizer.nextToken()) {
case StreamTokenizer.TT_WORD:
case '"':
case '\'':
        paramMap.put(key,tokenizer.sval);
default :
      break;
  }
}
}
 catch (IOException e) {
}
return paramMap;
}

public static Map < String , String > parseNamedParameters ( String tagValue ) { Map < String , String > paramMap = new LinkedHashMap < String , String > ( ) ; StreamTokenizer tokenizer = makeTokenizer ( tagValue ) ; try { while ( tokenizer . nextToken ( ) == StreamTokenizer . TT_WORD ) { String key = tokenizer . sval ; if ( tokenizer . nextToken ( ) != '=' ) { break ; } switch ( tokenizer . nextToken ( ) ) { case StreamTokenizer . TT_WORD : case '"' : case '\'' : paramMap . put ( key , tokenizer . sval ) ; default : break ; } } } catch ( IOException e ) { } return paramMap ; }
extract a map of named parameters
