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:

what's the format of the data file?

Posted by Chin Loong on October 28, 2001 at 10:31 PM

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