File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Ant, Maven and Other Build Tools
Get Dir List
Joined: Sep 14, 2009
Sep 17, 2011 09:49:15
I want to get Dir List from a root folder using
The problem in DirSet is, it brings subdirectory in the list. example
My RootFolder = Root +Dir1 +Dir2 + SubDir2_A +Dir3 + SubDir3_A + SubDir3_B
I will provide Root Folder as Input, the Dir List includes SubDir2_A and SubDir3_A and SubDir3_B, But i want to get only Dir1,Dir2 and Dir3.
Can anyone tell how to handle this? thanks in advance, your input is more valuable.
I agree. Here's the link:
subject: Get Dir List
Using find, excluding directories
Moving files in java
Basic Ant excludes question
Development: trouble with import and classpath
classpath setup by taking jars from multiple directory
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014