Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Constucting a Map with constant key values

807580Oct 12 2009 — edited Oct 12 2009
Hi all

I have some key values lited in a property file, and i will get the pairs from the database.

So can any one suggest how to go with? Becaz i feel its not of reading the same value every time deom the property file?

Also whats the best wat keeping these things in the proprty file as of now they are like

attribute1 = test

attribute2 = try123

attribute3 = find

So i want to put them like this

attibures = test;try123;find

and then put them in an arraylist anf then as key values of map?

Can anyone help me......

Thanks
Diana
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 9 2009
Added on Oct 12 2009
8 comments
545 views