Searched refs:isSymbolicLink (Results 1 – 14 of 14) sorted by relevance
56 check(!attrs.isSymbolicLink(), "is not a link"); in checkAttributesOfDirectory()71 check(!attrs.isSymbolicLink(), "is not a link"); in checkAttributesOfFile()101 check(attrs.isSymbolicLink(), "is a link"); in checkAttributesOfLink()
189 if (!attrs.isSymbolicLink()) { in permissionTests()
107 boolean isSymbolicLink(); in isSymbolicLink() method
158 assertTrue(Files.isSymbolicLink(symlinkPath)); in test_newDirectoryStream_symbolicLink()404 assertFalse(fileAttributeView.readAttributes().isSymbolicLink()); in test_getFileAttributeView()431 assertFalse(fileAttributeView.readAttributes().isSymbolicLink()); in test_getFileAttributeView_Path()438 assertFalse(fileAttributeView.readAttributes().isSymbolicLink()); in test_getFileAttributeView_Path()443 assertTrue(Files.isSymbolicLink(symlinkPath)); in test_getFileAttributeView_Path()475 assertTrue(Files.isSymbolicLink(symlinkPath)); in test_getFileAttributeView_Path_LinkOptions()482 assertTrue(fileAttributeView.readAttributes().isSymbolicLink()); in test_getFileAttributeView_Path_LinkOptions()493 assertFalse(fileAttributeView.readAttributes().isSymbolicLink()); in test_getFileAttributeView_Path_LinkOptions()
332 assertFalse(Files.isSymbolicLink(realPath)); in test_toRealPath()341 assertFalse(Files.isSymbolicLink(realPath)); in test_toRealPath()349 assertFalse(Files.isSymbolicLink(realPath)); in test_toRealPath()354 assertTrue(Files.isSymbolicLink(realPath)); in test_toRealPath()
278 assertFalse(Files.isSymbolicLink(filesSetup.getTestPath())); in test_isSymbolicLink()279 assertFalse(Files.isSymbolicLink(filesSetup.getDataFilePath())); in test_isSymbolicLink()285 assertTrue(Files.isSymbolicLink(filesSetup.getTestPath())); in test_isSymbolicLink()291 Files.isSymbolicLink(null); in test_isSymbolicLink_NPE()605 assertTrue(Files.isSymbolicLink(file2)); in test_walkFileTree$Path$Set$int$FileVisitor_symbolicLinkFollow()1424 assertTrue(Files.isSymbolicLink(file1)); in test_walk_FileSystemLoopException()
468 assertTrue(Files.isSymbolicLink(filesSetup.getTestPath())); in test_createSymbolicLink()484 assertTrue(Files.isSymbolicLink(filesSetup.getTestPath().toAbsolutePath())); in test_createSymbolicLink()
147 public boolean isSymbolicLink() { in readAttributes() method148 return attrs.isSymbolicLink(); in readAttributes()
465 if (sourceAttrs.isSymbolicLink()) { in move()530 if (sm != null && sourceAttrs.isSymbolicLink()) { in copy()575 if (sourceAttrs.isSymbolicLink()) { in copy()
157 builder.add(IS_SYMBOLIC_LINK_NAME, attrs.isSymbolicLink()); in addRequestedBasicAttributes()
861 if (!attrs.isSymbolicLink()) { in toRealPath()
112 if (attrs.isSymbolicLink()) in copyToForeignTarget()
210 if (cached != null && (!followLinks || !cached.isSymbolicLink())) { in getAttributes()
2151 public static boolean isSymbolicLink(Path path) {2155 LinkOption.NOFOLLOW_LINKS).isSymbolicLink();