public static File[] getSubdirectories(File base) {
		return base.listFiles(new FileFilter() {
			public boolean accept(File file) {
				return file.isDirectory();
			}
		});
	}
public static File [ ] getSubdirectories ( File base ) { return base . listFiles ( new FileFilter ( ) { public boolean accept ( File file ) { return file . isDirectory ( ) ; } } ) ; }
@return array of files that are contained in base and are directories