Re: File IO -- Reading Config Files Easily



On Thu, 30 Mar 2006 20:38:37 -0500, Hal Vaughan
<hal@xxxxxxxxxxxxxxxxxxxx> wrote, quoted or indirectly quoted someone
who said :

Thanks, everyone for the responses.  Yes, it's java.util.properties, and
thanks, Roedy, for the link.  Your page has bailed me out many times and
the effort to create it is much appreciated.

Ways you might have found it without help.

1. find a properties file that has the correct format and then look up
"properties".

2. recall than you can feed in a key and get a value. This sounds like
some sort of Hashtable or HashMap or at least a Map. Look up those
classes and see if they have any subclasses.

3. recall the name of one of the system properties. Look that up
which might have lead you to user properties.

The neural nets of the combined folks here are astounding at
associating with minimal clues. Seems like a perfectly reasonable way
to use the resource.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.