Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

read property file and store it in hashMap  RSS feed

 
S Shehab
Ranch Hand
Posts: 491
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello pals,

I need to read property file and store it in hashMap, any ideas?
Here is an example for my property file :
AGENTS =

AGENT109
AGENT145
AGENT147
AGENT148
AGENT149
AGENT150
AGENT151
AGENT152
AGENT153
AGENT154
AGENT156
AGENT157
AGENT158


AGENTS IPS =

10.150.15.149
10.150.15.118
10.150.15.126
10.150.15.244
10.150.15.106
10.150.15.250
10.150.15.120
10.150.15.122
10.150.15.119
10.150.15.121
10.150.15.223
10.150.15.212
10.150.15.109
10.150.15.186
10.150.15.156
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please don't post the same question in multiple forums - it wastes people's time if they respond without realizing the question has already been answered (or is being answered) elsewhere. Follow up here instead. Thank you.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!