hi,
Im very new to Java.
Basically
1. I need to read set of files
2. do some Validation while reading the files.
3. Catch the Exceptions(if any), and save the exceptions into database.
4. passing the validations, update the database.
anyone can help me........
thks
Manish Pandit - 04 Oct 2006 05:06 GMT
Hi,
1. You use java.io.File API to read the files
2. Do your validation upon reading the files - based on the size of the
files, you can read them line by line and do your validations.
3. Use try catch blocks for exceptions (It' be IOException mostly)
4. Declare your own exceptions if you want the caller to be known of
validation errors
5. Use JDBC API to talk to the database.
-cheers,
Manish