question: public static String dictionaryToString ( Dictionary < Object , Object > dict ) { Enumeration < Object > keys = dict . keys ( ) ; Object key , value ; StringBuffer result = new StringBuffer ( ) ; while ( keys . hasMoreElements ( ) ) { key = keys . nextElement ( ) ; value = dict . get ( key ) ; result . append ( key . toString ( ) ) ; result . append ( " = " ) ; result . append ( value . toString ( ) ) ; result . append ( "; " ) ; } return result . toString ( ) ; }
target:  Returns a semicolumn separated list of keys and values in the dictionary. Here is an example of returned String "key1 = value1; key2 = value2;"