public virtual bool isDirectory() { global::net.sf.jni4net.jni.JNIEnv @__env = this.Env; using(new global::net.sf.jni4net.jni.LocalFrame(@__env, 10)){ return ((bool)(@__env.CallBooleanMethod(this, global::java.io.File.j4n_isDirectory23))); } }
public virtual bool accept(File dir) { if (dir.isDirectory() && this.acceptsDirectories()) return true; for (int index = 0; index < this.fileext.Length; ++index) { if (String.instancehelper_endsWith(dir.getName(), this.fileext[index])) return true; } return false; }