The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
October 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

It's a simple .txt file. Nothing complex.

Posted by Eduardo on October 28, 2001 at 10:43 PM

I guess it's not necessary to use anything more complex. I know I have to read it somehow, inside the Restart() and downcast it, but I don't know how.

> what is the format? for my application, i use properties.

> text file to store information :

> [snip]
> database.driver=sun.jdbc.odbc.JdbcOdbcDriver
> database.url=jdbc:odbc:data
> database.username=
> database.password=
> database.logfile=g:\\work\\ics\\database.log
> [/snip]

> u can use properties to load the information.. from the text file.

> but if your assignment already has a pre-set format, then u would need to read and parse the file..






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us