Finding Out Directories on current File System! 2005-04-06 - By Joe Sam Shirah
Back Hi Ritu,
J2EE apps should not assume that a file system even exists.
When using file systems, a combination of the java.io.File methods listRoots(), listFiles() and isDirectory() allows you to traverse the directories.
Joe Sam
Joe Sam Shirah - http://www.conceptgo.com conceptGO - Consulting/Development/Outsourcing Java Filter Forum: http://www.ibm.com/developerworks/java/ Just the JDBC FAQs: http://www.jguru.com/faq/JDBC Going International? http://www.jguru.com/faq/I18N Que Java400? http://www.jguru.com/faq/Java400
-- -- Original Message -- -- From: "Ritu Arora1" <rituaro1@(protected)> To: <J2EE-INTEREST@(protected)> Sent: Wednesday, April 06, 2005 11:19 AM Subject: Finding Out Directories on current File System!
> How can one find out all directories on a current file system using java > code. > needed the same urgently while am myself out info about the same. > > regards, > Ritu >
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
|
|