mte01
asked on
Opening a folder to process files
Hey experts,
Is there a Java class that provides the ability to open a folder, and allows to process the files in it (i.e. take the name of the file and use on it the normal java.io methods & classes)..any help on such a class??
Is there a Java class that provides the ability to open a folder, and allows to process the files in it (i.e. take the name of the file and use on it the normal java.io methods & classes)..any help on such a class??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://javaalmanac.com/egs/java.io/GetFiles.html
ASKER
>>objects
Yes...I didn't know that class File can process a directory as it can process files!..thx for your help!
>>zzynx, CEHJ
I don't need to see or chose anything, I just want to process them in the code....
Yes...I didn't know that class File can process a directory as it can process files!..thx for your help!
>>zzynx, CEHJ
I don't need to see or chose anything, I just want to process them in the code....
:-)
Thanx
good to see I could help :)