How to search in CD
Hi
I have a problem like:
My data is dumped into cd. So i need to provide searching in cd rom for that data. Also i would know which cd has that data. I should also have to promt user to insert that cd for search.
FIrst of all, i need to know how to detect a cd rom and make search on it.
Any help....
If the CD is mounted to your OS, it should have a path just like any other file or directory (or system root in windows). Just do a normal file search rooted at that file path. If its not mounted or if the CD is not a file/folder structure (e.g. an audio disc), then java alone won't do the job. There may be a third-party JNI library that could help you, though.