Lines Matching refs:path
57 // public BlobCache(String path, int maxEntries, int maxBytes, boolean reset) throws IOException;
64 // public static void deleteFiles(String path);
127 // path + ".idx", path + ".0", and path + ".1"
132 public BlobCache(String path, int maxEntries, int maxBytes, boolean reset)
134 this(path, maxEntries, maxBytes, reset, 0);
137 public BlobCache(String path, int maxEntries, int maxBytes, boolean reset,
139 mIndexFile = new RandomAccessFile(path + ".idx", "rw");
140 mDataFile0 = new RandomAccessFile(path + ".0", "rw");
141 mDataFile1 = new RandomAccessFile(path + ".1", "rw");
156 // Delete the files associated with the given path previously created
158 public static void deleteFiles(String path) {
159 deleteFileSilently(path + ".idx");
160 deleteFileSilently(path + ".0");
161 deleteFileSilently(path + ".1");
164 private static void deleteFileSilently(String path) {
166 new File(path).delete();