how to update a key value in property file

J

JP

would you please send a snippet of the code.. how to delete a value
based on the index value. Thank you for your valuable reply.
 
A

Andrew Thompson

would you please send a snippet of the code..

How about you distinguish yourself from the 'code
leeches' by making a best effort based on the advice
of Sabine and Matt, then ask for more specific help
if you strike a problem?
 
R

Roedy Green

how to update a key value in property file.could any one please help
me. thanks.

A Property is just a Hashtable in a frilly dress. You do it the same
way you would with a HashMap or Hashtable.

You delete one key and create another.
--
Roedy Green Canadian Mind Products
http://mindprod.com

"Species evolve exactly as if they were adapting as best they could to a changing world, and not at all as if they were moving toward a set goal."
~ George Gaylord Simpson
 
A

Arne Vajhøj

Roedy said:
A Property is just a Hashtable in a frilly dress. You do it the same
way you would with a HashMap or Hashtable.

You delete one key and create another.

Well - a Hashtable can not update a file at all.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,685
Members
48,796
Latest member
Greg L.

Latest Threads

Top