this.extensions = extensions;
if ( (new File(pathname, s)).isDirectory() ) { return true; } else { if (extensions == null) { return true; } } for (int i = 0; i < extensions.length; i++) { if ( s.endsWith(extensions[i]) ) { return true; } } return false;