as I have both Hashtable and some text in one file I have not used out.writeObject(hashEncodeTable) , and separated them with [#] .
Now I am reading the file and extracting the hashtable from the file in a string object using the following code .

The program is running fine . But now I need to convert the string object hashFromFile back to hashtable . In other words I need a way to save Hashtable along with some text in a text file , and then read the text file and separate the Hashtable and the text . I hope I have expressed my problem clearly . Please help .