Searched refs:isSameFile (Results 1 - 25 of 53) sorted by relevance

123

/openjdk9/jdk/test/java/nio/file/Files/
H A DMisc.java111 * Tests isSameFile
118 * Test: isSameFile for self
120 assertTrue(isSameFile(thisFile, thisFile));
126 isSameFile(thisFile, thatFile);
131 isSameFile(thatFile, thisFile);
142 isSameFile(thisFile, thatFile);
147 isSameFile(thatFile, thisFile);
157 assertTrue(!isSameFile(thisFile, thatFile));
158 assertTrue(!isSameFile(thatFile, thisFile));
169 assertTrue(isSameFile(thisFil
[all...]
H A DFaultyFileSystem.java479 public boolean isSameFile(Path file, Path other) throws IOException { method in class:FaultyFileSystem.FaultyFSProvider
480 triggerEx(file, "isSameFile");
481 return Files.isSameFile(unwrap(file), unwrap(other));
H A DPassThroughFileSystem.java338 public boolean isSameFile(Path file, Path other) throws IOException { method in class:PassThroughFileSystem.PassThroughProvider
339 return Files.isSameFile(unwrap(file), unwrap(other));
/openjdk9/langtools/test/tools/javac/api/6431257/
H A DT6431257.java62 if (!fm.isSameFile(file, other))
64 if (fm.isSameFile(file, object))
/openjdk9/langtools/test/tools/javac/api/file/
H A DSJFM_IsSameFile.java28 * Test isSameFile method.
58 * Tests the isSameFile method for a specific file manager
82 boolean actual = fm.isSameFile(a, b);
/openjdk9/langtools/src/java.compiler/share/classes/javax/tools/
H A DStandardJavaFileManager.java175 boolean isSameFile(FileObject a, FileObject b); method in interface:StandardJavaFileManager
H A DForwardingJavaFileManager.java90 public boolean isSameFile(FileObject a, FileObject b) { method in class:ForwardingJavaFileManager
91 return fileManager.isSameFile(a, b);
H A DJavaFileManager.java250 boolean isSameFile(FileObject a, FileObject b); method in interface:JavaFileManager
574 * calls would return the {@link #isSameFile same} file object:
/openjdk9/jdk/test/java/nio/file/Files/walkFileTree/
H A DWalkWithSecurity.java50 if (Files.isSameFile(Paths.get(here), dir))
/openjdk9/jdk/test/jdk/nio/zipfs/
H A DPathOps.java219 PathOps isSameFile(String target) { method in class:PathOps
223 check(Files.isSameFile(path, test(target).path()), true);
523 // isSameFile
525 .isSameFile("/fileDoesNotExist");
/openjdk9/jdk/test/jdk/internal/jrtfs/
H A DPathOps.java207 PathOps isSameFile(String target) { method in class:PathOps
211 check(Files.isSameFile(path, test(target).path()), true);
506 // isSameFile
508 .isSameFile("/fileDoesNotExist");
/openjdk9/jdk/test/java/nio/file/Path/
H A DMisc.java102 assertTrue(Files.isSameFile(file.toRealPath(), file.toRealPath(NOFOLLOW_LINKS)));
/openjdk9/langtools/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/
H A DArchive.java173 return Files.isSameFile(archive.path, other.path);
/openjdk9/langtools/src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/util/
H A DDocFile.java217 public abstract boolean isSameFile(DocFile other); method in class:DocFile
H A DStandardDocFileFactory.java223 public boolean isSameFile(DocFile other) { method in class:StandardDocFileFactory.StandardDocFile
228 return Files.isSameFile(file, ((StandardDocFile) other).file);
/openjdk9/jdk/src/java.base/share/classes/jdk/internal/jrtfs/
H A DJrtFileSystemProvider.java278 public boolean isSameFile(Path path, Path other) throws IOException { method in class:JrtFileSystemProvider
279 return toJrtPath(path).isSameFile(other);
/openjdk9/jdk/src/java.base/windows/classes/sun/nio/fs/
H A DWindowsFileCopy.java116 if (WindowsFileAttributes.isSameFile(sourceAttrs, targetAttrs)) {
333 if (WindowsFileAttributes.isSameFile(sourceAttrs, targetAttrs)) {
/openjdk9/jdk/src/jdk.zipfs/share/classes/jdk/nio/zipfs/
H A DZipFileSystemProvider.java226 public boolean isSameFile(Path path, Path other) throws IOException { method in class:ZipFileSystemProvider
227 return toZipPath(path).isSameFile(other);
/openjdk9/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/
H A DStandardDocFileFactory.java265 public boolean isSameFile(DocFile other) { method in class:StandardDocFileFactory.StandardDocFile
270 return Files.isSameFile(file, ((StandardDocFile) other).file);
/openjdk9/langtools/src/jdk.jshell/share/classes/jdk/jshell/
H A DMemoryFileManager.java307 public boolean isSameFile(FileObject a, FileObject b) { method in class:MemoryFileManager
308 return stdFileManager.isSameFile(b, b);
/openjdk9/langtools/src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/
H A DSmartFileManager.java253 public boolean isSameFile(FileObject a, FileObject b) { method in class:SmartFileManager
254 return super.isSameFile(locUnwrap(a), locUnwrap(b));
/openjdk9/jdk/src/java.base/unix/classes/sun/nio/fs/
H A DUnixCopyFile.java430 if (sourceAttrs.isSameFile(targetAttrs))
552 if (sourceAttrs.isSameFile(targetAttrs))
/openjdk9/jdk/test/java/lang/ProcessHandle/
H A DInfoTest.java171 Assert.assertTrue(Files.isSameFile(expectedPath, actualPath),
205 Assert.assertTrue(Files.isSameFile(commandLineCmdPath, expectedPath),
/openjdk9/jdk/src/java.base/share/classes/java/nio/file/
H A DFileTreeWalker.java238 // them; otherwise we use less efficient isSameFile test.
248 if (Files.isSameFile(dir, ancestor.directory())) {
/openjdk9/jdk/src/java.base/share/classes/java/nio/file/spi/
H A DFileSystemProvider.java849 * manner specified by the {@link Files#isSameFile} method.
865 public abstract boolean isSameFile(Path path, Path path2) method in class:FileSystemProvider

Completed in 329 milliseconds

123