This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Are you familiar with the classes in the java.io package? They can be used to read and write files. You could also use java.util.Properties class if you can arrange to have those values stored in a Hashtable.
manoj kumar jena
Joined: Sep 24, 2007
kindly give me some hint.how to approach it by using java.util.proporties? would be better if i get any link to these kind of tutorials.
Joined: Mar 22, 2005
There isn't much to it. Create a Properties object, call the put method to add name/value pairs, and then call store or storeToXML to save it all to an OutputStream. For the output stream you can use a FileOutputStream for the file in which you want to store the data. [ October 05, 2008: Message edited by: Ulf Dittmer ]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com