jQuery in Action, 2nd edition
The moose likes Beginning Java and the fly likes Updating a properties file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Updating a properties file" Watch "Updating a properties file" New topic
Author

Updating a properties file

Ashutosh Arya
Ranch Hand

Joined: Oct 07, 2008
Posts: 69
Hi,

I have requirement that if a value is not existing in a properties file I have to add the value to it.

I dont know how to do that.

Please help me out.

Aashu
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56170
    
  13

Moved to the general Java forum.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 8433

Start here http://java.sun.com/docs/books/tutorial/essential/environment/properties.html

[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
Ashutosh Arya
Ranch Hand

Joined: Oct 07, 2008
Posts: 69
Thanks a lot.

It worked!!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Updating a properties file
 
Similar Threads
Creating a proprties file
ANT if/else condition
They faild me, and I don't know how to fight them back
Default Language Properties file
NAN and a long