This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

saving properties

 
Marcel de Jong
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I've an application which reads a property file into the system.properties with the methode

During the execution of the application, some properties are changed. I want to save them
in the orignal property file. Using Properties.store() following code also saves the properties of the system.
Is there a way I can save my file without the system properties.
Or is there a better way of making my properties available thoughout the system?
Thanks in advance,
Marcel
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic