fitgoodies-core/src/main/java/de/cologneintelligence/fitgoodies/file/FileSelector.java
public File[] getFiles() {
		final File[] files = directory.listFiles(filter);
		if (files == null) {
			return new File[0];
		} else {
			return files;
		}
	}
public File[] getFiles() {
		final File[] files = directory.listFiles(filter);
		if (files == null) {
			return new File[0];
		} else {
			return files;
		}
	}
public File [ ] getFiles ( ) { final File [ ] files = directory . listFiles ( filter ) ; if ( files == null ) { return new File [ 0 ] ; } else { return files ; } }
Returns a list of all matching files.

@return all files which match the pattern
Returns a list of all matching files .