Lines Matching refs:link
517 WindowsPath link = WindowsPath.toWindowsPath(obj1);
520 if (!link.getFileSystem().supportsLinks()) {
529 "not supported when creating symbolic link");
536 link.checkWrite();
541 * creates a link with the resolved target for this case.
544 throw new IOException("Cannot create symbolic link to working directory relative target");
554 WindowsPath parent = link.getParent();
557 resolvedTarget = link.resolve(target);
568 // create the link
570 CreateSymbolicLink(link.getPathForWin32Calls(),
575 x.rethrowAsIOException(link, target);
577 x.rethrowAsIOException(link);
584 WindowsPath link = WindowsPath.toWindowsPath(obj1);
591 link.checkWrite();
595 // create hard link
597 CreateHardLink(link.getPathForWin32Calls(),
600 x.rethrowAsIOException(link, existing);
606 WindowsPath link = WindowsPath.toWindowsPath(obj1);
607 WindowsFileSystem fs = link.getFileSystem();
615 FilePermission perm = new FilePermission(link.getPathForPermissionCheck(),
620 String target = WindowsLinkSupport.readLink(link);