public void addPair(String text){
  StringTokenizer stz=new StringTokenizer(text,"\0");
  if (stz.countTokens() == 2) {
    addPair(stz.nextToken(),stz.nextToken());
  }
}

public void addPair ( String text ) { StringTokenizer stz = new StringTokenizer ( text , "\0" ) ; if ( stz . countTokens ( ) == 2 ) { addPair ( stz . nextToken ( ) , stz . nextToken ( ) ) ; } }
parse text as a null separated pairing of name and function
