File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Groovy and the fly likes Writing variables of object to a property file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Writing variables of object to a property file" Watch "Writing variables of object to a property file" New topic
Author

Writing variables of object to a property file

Eric Fancis
Greenhorn

Joined: Jun 14, 2011
Posts: 29
I am trying to write the variables of a singleton to a property file.

I am trying this:


This works, but I am getting too much text in the output. Specifically:


Also, my properties are writing with ' ' around each value. Example: instead of just

How do I correct these two issues?


http://www.h4t3r.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Writing variables of object to a property file