Is the problem in reading/writing text files, or in altering the contents of the lines in between? If the former, check out the java.io.File, FileReader and BufferedReader classes. If the latter, then the java.lang.String class and its indexOf and substring methods will be helpful.
Joined: Sep 17, 2010
I tried using the below code ,but i need to store every record in the Hashmap .please go through the below code
I need to store a a number of records in hashmap by reading it from text file.