code: public static String valueParameters(String value, Map parameters)
      {
          if (value==null)
              return null;
          
          int i = value.indexOf(';');
          if (i<0)
              return value;
          if (parameters==null)
              return value.substring(0,i).trim();
  
          StringTokenizer tok1 =
              new QuotedStringTokenizer(value.substring(i),";",false,true);
          while(tok1.hasMoreTokens())
          {
              String token=tok1.nextToken();
              StringTokenizer tok2 =
                  new QuotedStringTokenizer(token,"= ");
              if (tok2.hasMoreTokens())
              {
                  String paramName=tok2.nextToken();
                  String paramVal=null;
                  if (tok2.hasMoreTokens())
                      paramVal=tok2.nextToken();
                  parameters.put(paramName,paramVal);
              }
          }
          
          return value.substring(0,i).trim();
      }
docs: Get field value parameters.
  Some field values can have parameters.  This method separates
  the value from the parameters and optionally populates a
  map with the paramters. For example:<PRE>
  FieldName : Value ; param1=val1 ; param2=val2
  </PRE>
  @param value The Field value, possibly with parameteres.
  @param parameters A map to populate with the parameters, or null
  @return The value.