/openjdk7/jdk/test/java/nio/file/Files/ |
H A D | Misc.java | 106 * Tests isSameFile 113 * Test: isSameFile for self 115 assertTrue(isSameFile(thisFile, thisFile)); 121 isSameFile(thisFile, thatFile); 126 isSameFile(thatFile, thisFile); 137 isSameFile(thisFile, thatFile); 142 isSameFile(thatFile, thisFile); 152 assertTrue(!isSameFile(thisFile, thatFile)); 153 assertTrue(!isSameFile(thatFile, thisFile)); 164 assertTrue(isSameFile(thisFil [all...] |
H A D | PassThroughFileSystem.java | 338 public boolean isSameFile(Path file, Path other) throws IOException { method in class:PassThroughFileSystem.PassThroughProvider 339 return Files.isSameFile(unwrap(file), unwrap(other));
|
/openjdk7/langtools/src/share/classes/javax/tools/ |
H A D | StandardJavaFileManager.java | 155 boolean isSameFile(FileObject a, FileObject b); method in interface:StandardJavaFileManager
|
H A D | ForwardingJavaFileManager.java | 90 public boolean isSameFile(FileObject a, FileObject b) { method in class:ForwardingJavaFileManager 91 return fileManager.isSameFile(a, b);
|
H A D | JavaFileManager.java | 200 boolean isSameFile(FileObject a, FileObject b); method in interface:JavaFileManager
|
/openjdk7/langtools/test/tools/javac/api/6431257/ |
H A D | T6431257.java | 60 if (!fm.isSameFile(file, other)) 62 if (fm.isSameFile(file, object))
|
/openjdk7/jdk/src/share/classes/java/nio/file/ |
H A D | FileTreeWalker.java | 143 // them; otherwise we use less efficient isSameFile test. 153 boolean isSameFile = false; 155 isSameFile = Files.isSameFile(file, ancestor.file()); 161 if (isSameFile) {
|
H A D | Files.java | 1127 * except if the source and target are the {@link #isSameFile same} file, in 1238 * target are the {@link #isSameFile same} file, in which case this method 1428 * {@code isSameFile(f,f)} should return {@code true}. 1430 * {@code isSameFile(f,g)} will equal {@code isSameFile(g,f)}. 1432 * {@code f}, {@code g}, and {@code h}, if {@code isSameFile(f,g)} returns 1433 * {@code true} and {@code isSameFile(g,h)} returns {@code true}, then 1434 * {@code isSameFile(g,h)} will return return {@code true}. 1453 public static boolean isSameFile(Path path, Path path2) throws IOException { method in class:Files 1454 return provider(path).isSameFile(pat [all...] |
/openjdk7/jdk/test/java/nio/file/Files/walkFileTree/ |
H A D | WalkWithSecurity.java | 50 if (Files.isSameFile(Paths.get(here), dir))
|
/openjdk7/jdk/test/demo/zipfs/ |
H A D | PathOps.java | 196 PathOps isSameFile(String target) { method in class:PathOps 200 check(Files.isSameFile(path, test(target).path()), true); 407 // isSameFile 409 .isSameFile("/fileDoesNotExist");
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/nio/ |
H A D | PathFileObject.java | 269 public boolean isSameFile(PathFileObject other) { method in class:PathFileObject 271 return Files.isSameFile(path, other.path);
|
H A D | JavacPathFileManager.java | 294 public boolean isSameFile(FileObject a, FileObject b) { method in class:JavacPathFileManager 301 return ((PathFileObject) a).isSameFile((PathFileObject) b);
|
/openjdk7/jdk/test/java/nio/file/Path/ |
H A D | Misc.java | 102 assertTrue(Files.isSameFile(file.toRealPath(), file.toRealPath(NOFOLLOW_LINKS)));
|
/openjdk7/jdk/test/java/nio/file/spi/ |
H A D | TestProvider.java | 167 public boolean isSameFile(Path file, Path other) throws IOException { method in class:TestProvider
|
/openjdk7/jdk/src/windows/classes/sun/nio/fs/ |
H A D | WindowsFileCopy.java | 117 if (WindowsFileAttributes.isSameFile(sourceAttrs, targetAttrs)) { 336 if (WindowsFileAttributes.isSameFile(sourceAttrs, targetAttrs)) {
|
H A D | WindowsFileSystemProvider.java | 408 public boolean isSameFile(Path obj1, Path obj2) throws IOException { method in class:WindowsFileSystemProvider 449 return WindowsFileAttributes.isSameFile(attrs1, attrs2);
|
H A D | WindowsFileAttributes.java | 364 static boolean isSameFile(WindowsFileAttributes attrs1, method in class:WindowsFileAttributes
|
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ |
H A D | ZipFileSystemProvider.java | 228 public boolean isSameFile(Path path, Path other) throws IOException { method in class:ZipFileSystemProvider 229 return toZipPath(path).isSameFile(other);
|
H A D | ZipPath.java | 723 boolean isSameFile(Path other) throws IOException { method in class:ZipPath 798 if (Files.isSameFile(this.zfs.getZipFile(), target.zfs.getZipFile())) 812 if (Files.isSameFile(this.zfs.getZipFile(), target.zfs.getZipFile()))
|
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | UnixCopyFile.java | 419 if (sourceAttrs.isSameFile(targetAttrs)) 541 if (sourceAttrs.isSameFile(targetAttrs))
|
H A D | UnixFileSystemProvider.java | 313 public boolean isSameFile(Path obj1, Path obj2) throws IOException { method in class:UnixFileSystemProvider 341 return attrs1.isSameFile(attrs2);
|
H A D | UnixFileAttributes.java | 91 boolean isSameFile(UnixFileAttributes attrs) { method in class:UnixFileAttributes
|
/openjdk7/jdk/src/share/classes/java/nio/file/spi/ |
H A D | FileSystemProvider.java | 843 * manner specified by the {@link Files#isSameFile} method. 859 public abstract boolean isSameFile(Path path, Path path2) method in class:FileSystemProvider
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/api/ |
H A D | ClientCodeWrapper.java | 236 public boolean isSameFile(FileObject a, FileObject b) { method in class:ClientCodeWrapper.WrappedJavaFileManager 238 return clientJavaFileManager.isSameFile(unwrap(a), unwrap(b));
|
/openjdk7/langtools/test/tools/javac/api/ |
H A D | TestClientCodeWrapper.java | 332 public boolean isSameFile(FileObject a, FileObject b) { method in class:TestClientCodeWrapper.UserFileManager 333 throwUserExceptionIfNeeded(fileManagerMethod, "isSameFile"); 334 return super.isSameFile(unwrap(a), unwrap(b));
|