protected static File [ ] listDirs ( File parent ) { return parent . listFiles ( new FileFilter ( ) { public boolean accept ( File file ) { return file . isDirectory ( ) ; } } ) ; }
List all of the sub - directories in a parent directory .