code: public void setProperties(String props) {
          Map hashTable = new HashMap();
          StringTokenizer pairs = new StringTokenizer(props, ",");
          while (pairs.hasMoreTokens()) {
              StringTokenizer entry = new StringTokenizer(pairs.nextToken(), "=");
              hashTable.put(entry.nextElement().toString().trim(), entry.nextElement().toString().trim());
          }
          synchronized(this) {
              properties = hashTable;
          }
      }
docs: Set a string representing the property name/value pairs.
  
  Form: propname1=propvalue1,propname2=propvalue2
  
  @param props