Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hi.....
- From: deepeshjpr at mailandnews.com (Deepesh)
- Subject: hi.....
- Date: Sat Nov 12 19:39:24 2005
Hi Shiva, In some books you can find a program implemented using recursion to search the whole drive. Thats an Indian edition book.... Mastering java... BPB publication. -Deepesh *********** REPLY SEPARATOR *********** On 11/29/00 at 5:25 PM Subhramanya Shiva wrote: >hi...all..... > >I am trying to find a particular file or directory in local harddisk. >I am using servlets and java. > >and I am using File class in java.io package. >in that i am using isDirectory() and isFile() methods. > >is there any method to search entire local harddrive or >is there any changedirectory method in it.[ we are having mkdir() method >in File class ] but >cd .......I couldnot found. > >what i am doing is .......i took a string and updating the directory and > >searching the file .......and if not found...i am comming back and go to >another....and repeating the same. > >it is taking a long process...... > >is there any short method.........could be helpful .......to >me.............. >Please help me.............Thanking you.......... > > > > > >--- >To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx >To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx --- To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx
- References:
- hi.....
- From: Subhramanya Shiva
- hi.....
- Prev by Date: Browser
- Next by Date: [no subject]
- Previous by thread: hi.....
- Next by thread: Exit a servlet on error
- Index(es):