This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Java in General and the fly likes Problem regarding saving properties file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Problem regarding saving properties file" Watch "Problem regarding saving properties file" New topic

Problem regarding saving properties file

amit sharma
Ranch Hand

Joined: Jul 19, 2006
Posts: 129
I save a properties file using its store method but saving operation also add \ in front of :.How to get rid of \.
Joe Ess

Joined: Oct 29, 2001
Posts: 9126

You don't need to. If you read your properties back in, the Properties object correctly handles the "\:" and returns ":".

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Problem regarding saving properties file
It's not a secret anymore!