Code example for File

Methods: listFiles

0
			} 
		} 
	} 
 
	private static File[] getImageFiles(File dir) {
		File[] files = dir.listFiles(new FilenameFilter() {
			@Override 
			public boolean accept(File dir, String filename) {
				return filename.endsWith(".ioio");
			} 
		}); 
		return files;
	} 
 
	private static File[] getFingerprintFiles(File dir) {
		File[] files = dir.listFiles(new FilenameFilter() {
			@Override 
			public boolean accept(File dir, String filename) {
				return filename.endsWith(".fp");
			} 
		});