Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem regarding saving properties file

 
amit sharma
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I save a properties file using its store method but saving operation also add \ in front of :.How to get rid of \.
Thanks
 
Joe Ess
Bartender
Posts: 9280
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't need to. If you read your properties back in, the Properties object correctly handles the "\:" and returns ":".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic