Re: File IO -- Reading Config Files Easily
- From: "Monique Y. Mudama" <spam@xxxxxxxxxxxxxxxx>
- Date: Thu, 30 Mar 2006 11:38:58 -0700
On 2006-03-30, Hal Vaughan penned:
The programmer was using something in the Java API to easily read this in
and use the value pairs for setting variables, or maybe for setting values
in something like a HashMap or Vector. I can't remember what he used or
what it was called, but it was a basic shortcut from having to read the
file line by line, split each line on the "=", and parse the results.
Any help on what would do this or what to call it?
I think you're talking about using a Properties file.
http://javaalmanac.com/egs/java.util/Props.html
--
monique
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
.
- References:
- File IO -- Reading Config Files Easily
- From: Hal Vaughan
- File IO -- Reading Config Files Easily
- Prev by Date: Re: File IO -- Reading Config Files Easily
- Next by Date: Re: Input/Output program Compiles but doesn't run
- Previous by thread: Re: File IO -- Reading Config Files Easily
- Next by thread: Re: File IO -- Reading Config Files Easily
- Index(es):