aspose file tools*
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
Author

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 \.
Thanks
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8971
    
    9

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]
 
Consider Paul's rocket mass heater.
 
subject: Problem regarding saving properties file