1 17 18 package org.apache.tomcat.jni; 19 20 25 26 public class Directory { 27 28 34 public static native int make(String path, int perm, long pool); 35 36 43 public static native int makeRecursive(String path, int perm, long pool); 44 45 50 public static native int remove(String path, long pool); 51 52 64 public static native String tempGet(long pool); 65 66 72 public static native long open(String dirname, long pool) 73 throws Error ; 74 75 79 public static native int close(long thedir); 80 81 85 public static native int rewind(long thedir); 86 87 88 95 public static native int read(FileInfo finfo, int wanted, long thedir); 96 97 } 98 | Popular Tags |