1 16 package org.apache.commons.io.filefilter; 17 18 import java.io.File ; 19 20 29 public class TrueFileFilter implements IOFileFilter { 30 31 32 public static final IOFileFilter INSTANCE = new TrueFileFilter(); 33 34 37 protected TrueFileFilter() { 38 } 39 40 46 public boolean accept(File file) { 47 return true; 48 } 49 50 57 public boolean accept(File dir, String name) { 58 return true; 59 } 60 61 } 62 | Popular Tags |