Properties file and save and store

Discussion in 'Java' started by Ramza Brown, Aug 5, 2005.

  1. Ramza Brown

    Ramza Brown Guest

    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
     
    Ramza Brown, Aug 5, 2005
    #1
    1. Advertisements

  2. Ramza Brown

    Ramza Brown Guest

    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
     
    Ramza Brown, Aug 5, 2005
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?UnVkeQ==?=

    to store or not to store an image

    =?Utf-8?B?UnVkeQ==?=, Mar 29, 2005, in forum: ASP .Net
    Replies:
    6
    Views:
    902
    =?Utf-8?B?UnVkeQ==?=
    Mar 30, 2005
  2. Skinny Guy
    Replies:
    1
    Views:
    2,226
  3. Replies:
    5
    Views:
    675
    Thomas Hawtin
    Aug 17, 2005
  4. Rolf Hemmerling
    Replies:
    7
    Views:
    558
    Corwin Joy
    Nov 15, 2003
  5. Replies:
    7
    Views:
    536
    Gabriel Genellina
    Oct 25, 2006
  6. =?Utf-8?B?U00=?=

    How to save chart properties in xsl file ?

    =?Utf-8?B?U00=?=, Apr 10, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    687
    Steve C. Orr [MCSD, MVP, CSM, ASP Insider]
    Apr 11, 2007
  7. nat G
    Replies:
    0
    Views:
    555
    nat G
    Mar 2, 2009
  8. Shahar Golan
    Replies:
    5
    Views:
    464
    kaeli
    Oct 16, 2003
Loading...