A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Developer Certification (SCJD/OCMJD)
Checking DB file exists ?
Joined: Jul 03, 2003
Aug 18, 2003 10:05:00
When updating the DB file, I would like a file Not Found Exception to be thrown if the DB file has been deleted or moved, is there any simple way to do this as I can't seem to find one. The JVM just creates a new file.
Joined: Aug 03, 2002
Aug 18, 2003 12:01:00
Have you looked at what the java.io.File class can do for you?
Ask a Meaningful Question
Getting someone to think and try something out is much more useful than just telling them the answer.
I agree. Here's the link:
subject: Checking DB file exists ?
pubzzle of db-file-path expression?
How to understand the .db file?
How can i show backend table data in CSV format
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014