/** * Checks to see if the File should be accepted by this filter. * * @param dir the directory File to check * @param name the filename within the directory to check * @return true if this file matches the test */ @Override public boolean accept(final File dir, final String name) { return accept(new File(dir, name)); }
/** * Checks the filter. * * @param file the file to check * @return true if the filter matches */ @Override public boolean accept(final File file) { if (fileFilter != null) { return fileFilter.accept(file); } else { return super.accept(file); } }
/** * Checks the filter. * * @param dir the directory * @param name the filename in the directory * @return true if the filter matches */ @Override public boolean accept(final File dir, final String name) { if (filenameFilter != null) { return filenameFilter.accept(dir, name); } else { return super.accept(dir, name); } }
/** * Checks to see if the File should be accepted by this filter. * * @param file the File to check * @return true if this file matches the test */ @Override public boolean accept(final File file) { return accept(file.getParentFile(), file.getName()); }
/** * Checks to see if the File should be accepted by this filter. * * @param dir the directory File to check * @param name the filename within the directory to check * @return true if this file matches the test */ public boolean accept(File dir, String name) { return accept(new File(dir, name)); }
/** * Checks the filter. * * @param file the file to check * @return true if the filter matches */ public boolean accept(File file) { if (fileFilter != null) { return fileFilter.accept(file); } else { return super.accept(file); } }
/** * Checks the filter. * * @param dir the directory * @param name the filename in the directory * @return true if the filter matches */ public boolean accept(File dir, String name) { if (filenameFilter != null) { return filenameFilter.accept(dir, name); } else { return super.accept(dir, name); } }
/** * Checks to see if the File should be accepted by this filter. * * @param file the File to check * @return true if this file matches the test */ public boolean accept(File file) { return accept(file.getParentFile(), file.getName()); }
/** * Checks to see if the File should be accepted by this filter. * * @param dir the directory File to check * @param name the filename within the directory to check * @return true if this file matches the test */ public boolean accept(File dir, String name) { return accept(new File(dir, name)); }
/** * Checks to see if the File should be accepted by this filter. * * @param dir the directory File to check * @param name the filename within the directory to check * @return true if this file matches the test */ public boolean accept(File dir, String name) { return accept(new File(dir, name)); }
/** * Checks to see if the File should be accepted by this filter. * * @param dir the directory File to check * @param name the filename within the directory to check * @return true if this file matches the test */ public boolean accept(final File dir, final String name) { return accept(new File(dir, name)); }
/** * Checks to see if the File should be accepted by this filter. * * @param dir the directory File to check * @param name the filename within the directory to check * @return true if this file matches the test */ @Override public boolean accept(final File dir, final String name) { return accept(new File(dir, name)); }
/** * Checks to see if the File should be accepted by this filter. * * @param dir the directory File to check * @param name the filename within the directory to check * @return true if this file matches the test */ public boolean accept(File dir, String name) { return accept(new File(dir, name)); }
/** * Checks the filter. * * @param dir the directory * @param name the filename in the directory * @return true if the filter matches */ public boolean accept(File dir, String name) { if (filenameFilter != null) { return filenameFilter.accept(dir, name); } else { return super.accept(dir, name); } }
/** * Checks to see if the File should be accepted by this filter. * * @param dir the directory File to check * @param name the filename within the directory to check * @return true if this file matches the test */ public boolean accept(File dir, String name) { return accept(new File(dir, name)); }
/** * Checks to see if the File should be accepted by this filter. * * @param file the File to check * @return true if this file matches the test */ public boolean accept(File file) { return accept(file.getParentFile(), file.getName()); }
/** * Checks to see if the File should be accepted by this filter. * * @param file the File to check * @return true if this file matches the test */ @Override public boolean accept(final File file) { return accept(file.getParentFile(), file.getName()); }
/** * Checks to see if the File should be accepted by this filter. * * @param file the File to check * @return true if this file matches the test */ public boolean accept(final File file) { return accept(file.getParentFile(), file.getName()); }
/** * Checks to see if the File should be accepted by this filter. * * @param file the File to check * @return true if this file matches the test */ public boolean accept(File file) { return accept(file.getParentFile(), file.getName()); }
/** * Checks to see if the File should be accepted by this filter. * * @param file the File to check * @return true if this file matches the test */ public boolean accept(File file) { return accept(file.getParentFile(), file.getName()); }