File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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: 9087

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