Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Properties file and save and store

Reply
Thread Tools

Properties file and save and store

 
 
Ramza Brown
Guest
Posts: n/a
 
      08-05-2005
I am trying to load, save, load a properties file from a Swing
component, but I noticed that the Properties methods are a little strange.

For example, Properties.list() ...prints a '-- listing properties -- '
at the top of the output.

Can I resave that with the '--' in it?


--
Ramza from Atlanta
http://www.newspiritcompany.com
 
Reply With Quote
 
 
 
 
Ramza Brown
Guest
Posts: n/a
 
      08-05-2005
Ramza Brown wrote:
> I am trying to load, save, load a properties file from a Swing
> component, but I noticed that the Properties methods are a little strange.
>
> For example, Properties.list() ...prints a '-- listing properties -- '
> at the top of the output.
>
> Can I resave that with the '--' in it?
>
>

Nevermind, I needed the other method. Another question, anybody know
why these methods are escaping my data.

--
Ramza from Atlanta
http://www.newspiritcompany.com
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to store a .properties file in an EJB 3 deployment nat G Java 0 03-02-2009 08:16 PM
How to save chart properties in xsl file ? =?Utf-8?B?U00=?= ASP .Net 1 04-11-2007 02:26 AM
Save/Store whole class (or another object) in a file alexLIGO@googlemail.com Python 7 10-25-2006 09:55 PM
Need to save properties in XML file alexkuzn@gmail.com Java 5 08-17-2005 04:27 AM
How to Store Network Path in Properties File? Backslash Weirdness. Skinny Guy Java 1 11-08-2004 10:52 PM



Advertisments