Lines Matching defs:dir
137 File dir = file.getParentFile();
138 if (dir == null)
139 dir = new File(".");
140 return File.createTempFile("jartmp", null, dir);
389 String dir = args[++i];
390 dir = (dir.endsWith(File.separator) ?
391 dir : (dir + File.separator));
392 dir = dir.replace(File.separatorChar, '/');
393 while (dir.indexOf("//") > -1) {
394 dir = dir.replace("//", "/");
396 paths.add(dir.replace(File.separatorChar, '/'));
397 nameBuf[k++] = dir + args[++i];
429 void expand(File dir, String[] files, boolean isUpdate) {
435 if (dir == null) {
438 f = new File(dir, files[i]);
934 throw new IOException(formatMsg("error.create.dir",
939 throw new IOException(formatMsg("error.create.dir",
954 "error.create.dir", d.getPath()));