• Post Reply Bookmark Topic Watch Topic
  • New Topic

writing and using proerties files in java  RSS feed

 
John David
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Respected Folks
couldyou please explain me how to write a properties file and access those values from a java file.
thanks in advance

regards
David
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16059
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at the class java.util.Properties in the API documentation - it has load() and store() methods to load and save properties, and the documentation explains how to use them.
 
Ritvick Nigam
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi David,
Have a look at your private messages.


Ritvick
 
Rob Spoor
Sheriff
Posts: 21135
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ritvick, will you please keep communication about the question in this topic? That way everybody can see the possible solutions.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!