/openjdk7/jdk/test/java/io/File/ |
H A D | SymLinks.java | 83 Files.deleteIfExists(link2file.toPath()); 85 Files.deleteIfExists(link2link2file.toPath()); 89 Files.deleteIfExists(link2dir.toPath()); 91 Files.deleteIfExists(link2link2dir.toPath()); 93 Files.deleteIfExists(link2nobody.toPath()); 95 Files.deleteIfExists(link2link2nobody.toPath()); 102 Files.createSymbolicLink(source.toPath(), target.toPath()); 109 return Files.isSymbolicLink(link.toPath()); 117 Files.readAttributes(link.toPath(), BasicFileAttribute [all...] |
H A D | IsHidden.java | 46 Files.getFileAttributeView(f.toPath(), DosFileAttributeView.class).setHidden(value);
|
/openjdk7/jdk/test/sun/misc/IoTrace/ |
H A D | IoTraceFileChannelReadWrite.java | 40 try (FileChannel fc = FileChannel.open(f.toPath(), 52 try (FileChannel fc = FileChannel.open(f.toPath(),
|
/openjdk7/jdk/test/java/util/Scanner/ |
H A D | FailingConstructors.java | 50 Files.write(file.toPath(), FILE_CONTENTS.getBytes()); 78 new Scanner(file.toPath(), UNSUPPORTED_CHARSET); 87 new Scanner(file.toPath(), null);
|
/openjdk7/jdk/test/java/io/FileInputStream/ |
H A D | LargeFileAvailable.java | 100 Files.delete(file.toPath()); 103 FileChannel.open(file.toPath(),
|
/openjdk7/jdk/test/java/nio/channels/FileChannel/ |
H A D | AtomicAppend.java | 50 return FileChannel.open(file.toPath(), APPEND); 59 return Files.newOutputStream(file.toPath(), APPEND);
|
H A D | Truncate.java | 64 FileChannel.open(blah.toPath(), READ, WRITE)) 98 FileChannel.open(blah.toPath(), APPEND))
|
H A D | ReleaseOnCloseDeadlock.java | 44 test(blah.toPath());
|
H A D | Lock.java | 178 try (FileChannel fc = FileChannel.open(blah.toPath(), APPEND)) {
|
/openjdk7/jdk/test/java/util/zip/ZipFile/ |
H A D | ReadZip.java | 64 newZip.toPath(), StandardCopyOption.REPLACE_EXISTING); 67 try (OutputStream os = Files.newOutputStream(newZip.toPath(),
|
/openjdk7/jdk/test/tools/launcher/ |
H A D | Test7029048.java | 203 Files.createDirectories(dstClientDir.toPath()); 205 Files.deleteIfExists(dstClientLibjvm.toPath()); 209 Files.createDirectories(dstServerDir.toPath()); 211 Files.deleteIfExists(dstServerLibjvm.toPath()); 216 Files.createDirectories(dstOtherServerDir.toPath()); 218 Files.deleteIfExists(dstOtherServerLibjvm.toPath());
|
H A D | TestHelper.java | 328 Path parent = dst.toPath().getParent(); 332 Files.copy(src.toPath(), dst.toPath(), COPY_ATTRIBUTES, REPLACE_EXISTING); 344 Files.write(aFile.getAbsoluteFile().toPath(), contents, 381 Files.write(outFile.getAbsoluteFile().toPath(), content, 389 Files.walkFileTree(target.toPath(), new SimpleFileVisitor<Path>() {
|
/openjdk7/jdk/test/java/nio/channels/AsynchronousFileChannel/ |
H A D | CustomThreadPool.java | 43 AsynchronousFileChannel.open(blah.toPath(), READ, WRITE);
|
H A D | Basic.java | 49 .open(blah.toPath(), READ, WRITE); 63 testLocking(blah.toPath()); 64 testCustomThreadPool(blah.toPath()); 65 testAsynchronousClose(blah.toPath()); 66 testCancel(blah.toPath()); 67 testTruncate(blah.toPath());
|
H A D | LotsOfWrites.java | 79 this.channel = AsynchronousFileChannel.open(file.toPath(), WRITE);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/ |
H A D | TempFiles.java | 62 METHOD_FILE_TO_PATH = safeGetMethod(File.class, "toPath"); 101 static Object toPath(File f) throws InvocationTargetException, IllegalAccessException { method in class:TempFiles 119 Object path = toPath(dir);
|
/openjdk7/jdk/test/sun/reflect/CallerSensitive/ |
H A D | ClassFileReader.java | 50 return new DirectoryReader(path.toPath()); 52 return new JarFileReader(path.toPath()); 54 return new ClassFileReader(path.toPath());
|
/openjdk7/jdk/src/macosx/bundle/appbundler/src/com/oracle/appbundler/ |
H A D | AppBundlerTask.java | 449 Path filePath = file.toPath(); 466 Files.copy(in, file.toPath(), StandardCopyOption.REPLACE_EXISTING); 471 Path sourcePath = source.toPath(); 472 Path destinationPath = destination.toPath();
|
/openjdk7/jdk/test/java/util/Formatter/ |
H A D | FailingConstructors.java | 51 Files.write(file.toPath(), FILE_CONTENTS.getBytes());
|
/openjdk7/jdk/src/solaris/native/java/io/ |
H A D | UnixFileSystem_md.c | 371 WITH_FIELD_PLATFORM_STRING(env, to, ids.path, toPath) { 372 if (rename(fromPath, toPath) == 0) { 375 } END_PLATFORM_STRING(env, toPath);
|
/openjdk7/jdk/src/windows/native/java/io/ |
H A D | Win32FileSystem_md.c | 408 WITH_NATIVE_PATH(env, to, ids.path, toPath) { 409 if (rename(fromPath, toPath) == 0) { 412 } END_NATIVE_PATH(env, toPath);
|
/openjdk7/jdk/src/share/classes/javax/imageio/stream/ |
H A D | FileCacheImageInputStream.java | 104 this.cacheFile = Files.createTempFile(cacheDir.toPath(), "imageio", ".tmp")
|
H A D | FileCacheImageOutputStream.java | 90 this.cacheFile = Files.createTempFile(cacheDir.toPath(), "imageio", ".tmp")
|
/openjdk7/jdk/test/java/nio/file/Path/ |
H A D | Misc.java | 89 assertTrue(d.toPath().equals(dir));
|
/openjdk7/jdk/test/java/util/logging/ |
H A D | SimpleFormatterFormat.java | 44 java.nio.file.Files.deleteIfExists(log.toPath());
|