Searched defs:followLinks (Results 1 - 20 of 20) sorted by relevance

/openjdk7/jdk/src/share/classes/java/nio/file/
H A DCopyMoveHelper.java46 boolean followLinks = true; field in class:CopyMoveHelper.CopyOptions
58 result.followLinks = false;
105 LinkOption[] linkOptions = (opts.followLinks) ? new LinkOption[0] :
H A DFileTreeWalker.java40 private final boolean followLinks; field in class:FileTreeWalker
58 this.followLinks = fl;
95 if (cached != null && (!followLinks || !cached.isSymbolicLink()))
107 if (followLinks) {
139 if (followLinks) {
228 if (followLinks) {
H A DFiles.java2281 private static boolean followLinks(LinkOption... options) { method in class:Files
2282 boolean followLinks = true;
2285 followLinks = false;
2292 return followLinks;
2325 if (followLinks(options)) {
2374 if (followLinks(options)) {
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsFileCopy.java55 boolean followLinks = true;
63 followLinks = false;
97 sourceHandle = source.openForReadAttributeAccess(followLinks);
172 (source.getFileSystem().supportsLinks() && !followLinks) ?
211 copySecurityAttributes(source, target, followLinks);
250 copySecurityAttributes(source, target, followLinks);
478 boolean followLinks)
481 String path = WindowsLinkSupport.getFinalPath(source, followLinks);
476 copySecurityAttributes(WindowsPath source, WindowsPath target, boolean followLinks) argument
H A DWindowsLinkSupport.java93 static String getFinalPath(WindowsPath input, boolean followLinks) argument
99 if (!followLinks || !fs.supportsLinks())
H A DWindowsAclFileAttributeView.java57 private final boolean followLinks; field in class:WindowsAclFileAttributeView
59 WindowsAclFileAttributeView(WindowsPath file, boolean followLinks) { argument
61 this.followLinks = followLinks;
120 String path = WindowsLinkSupport.getFinalPath(file, followLinks);
144 String path = WindowsLinkSupport.getFinalPath(file, followLinks);
171 String path = WindowsLinkSupport.getFinalPath(file, followLinks);
216 String path = WindowsLinkSupport.getFinalPath(file, followLinks);
H A DWindowsUserDefinedFileAttributeView.java59 private final boolean followLinks; field in class:WindowsUserDefinedFileAttributeView
61 WindowsUserDefinedFileAttributeView(WindowsPath file, boolean followLinks) { argument
63 this.followLinks = followLinks;
100 if (!followLinks && file.getFileSystem().supportsLinks())
221 if (!followLinks)
248 if (!followLinks)
289 if (!followLinks)
302 if (!followLinks)
334 String path = WindowsLinkSupport.getFinalPath(file, followLinks);
[all...]
H A DWindowsFileAttributeViews.java40 final boolean followLinks; field in class:WindowsFileAttributeViews.Basic
42 Basic(WindowsPath file, boolean followLinks) { argument
44 this.followLinks = followLinks;
51 return WindowsFileAttributes.get(file, followLinks);
82 if (!followLinks && file.getFileSystem().supportsLinks())
103 if (followLinks && x.lastError() == ERROR_INVALID_PARAMATER) {
165 Dos(WindowsPath file, boolean followLinks) { argument
166 super(file, followLinks);
228 String path = WindowsLinkSupport.getFinalPath(file, followLinks);
288 createBasicView(WindowsPath file, boolean followLinks) argument
292 createDosView(WindowsPath file, boolean followLinks) argument
[all...]
H A DWindowsFileAttributes.java298 static WindowsFileAttributes get(WindowsPath path, boolean followLinks) argument
337 // followLinks is false, there isn't sufficient information
352 long handle = path.openForReadAttributeAccess(followLinks);
H A DWindowsPath.java775 long openForReadAttributeAccess(boolean followLinks) argument
779 if (!followLinks && getFileSystem().supportsLinks())
836 String rp = WindowsLinkSupport.getRealPath(this, Util.followLinks(options));
/openjdk7/jdk/src/share/classes/sun/nio/fs/
H A DUtil.java88 static boolean followLinks(LinkOption... options) { method in class:Util
89 boolean followLinks = true;
92 followLinks = false;
99 return followLinks;
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DSolarisUserDefinedFileAttributeView.java60 private final boolean followLinks; field in class:SolarisUserDefinedFileAttributeView
62 SolarisUserDefinedFileAttributeView(UnixPath file, boolean followLinks) { argument
64 this.followLinks = followLinks;
72 int fd = file.openForAttributeAccess(followLinks);
113 int fd = file.openForAttributeAccess(followLinks);
143 int fd = file.openForAttributeAccess(followLinks);
182 int fd = file.openForAttributeAccess(followLinks);
218 int fd = file.openForAttributeAccess(followLinks);
H A DLinuxUserDefinedFileAttributeView.java88 private final boolean followLinks; field in class:LinuxUserDefinedFileAttributeView
90 LinuxUserDefinedFileAttributeView(UnixPath file, boolean followLinks) { argument
92 this.followLinks = followLinks;
100 int fd = file.openForAttributeAccess(followLinks);
136 int fd = file.openForAttributeAccess(followLinks);
172 int fd = file.openForAttributeAccess(followLinks);
239 int fd = file.openForAttributeAccess(followLinks);
263 int fd = file.openForAttributeAccess(followLinks);
H A DSolarisAclFileAttributeView.java67 private final boolean followLinks; field in class:SolarisAclFileAttributeView
69 SolarisAclFileAttributeView(UnixPath file, boolean followLinks) { argument
71 this.followLinks = followLinks;
312 int fd = file.openForAttributeAccess(followLinks);
341 int fd = file.openForAttributeAccess(followLinks);
375 UnixFileAttributes.get(file, followLinks);
394 if (followLinks) {
H A DLinuxDosFileAttributeView.java65 LinuxDosFileAttributeView(UnixPath file, boolean followLinks) { argument
66 super(file, followLinks);
120 int fd = file.openForAttributeAccess(followLinks);
256 int fd = file.openForAttributeAccess(followLinks);
H A DUnixCopyFile.java51 boolean followLinks; field in class:UnixCopyFile.Flags
66 flags.followLinks = true;
73 flags.followLinks = false;
518 sourceAttrs = UnixFileAttributes.get(source, flags.followLinks);
H A DUnixFileAttributeViews.java40 protected final boolean followLinks; field in class:UnixFileAttributeViews.Basic
42 Basic(UnixPath file, boolean followLinks) { argument
44 this.followLinks = followLinks;
52 UnixFileAttributes.get(file, followLinks);
74 int fd = file.openForAttributeAccess(followLinks);
130 Posix(UnixPath file, boolean followLinks) { argument
131 super(file, followLinks);
206 return UnixFileAttributes.get(file, followLinks);
217 if (followLinks) {
301 Unix(UnixPath file, boolean followLinks) argument
357 createBasicView(UnixPath file, boolean followLinks) argument
361 createPosixView(UnixPath file, boolean followLinks) argument
365 createUnixView(UnixPath file, boolean followLinks) argument
369 createOwnerView(UnixPath file, boolean followLinks) argument
[all...]
H A DUnixFileAttributes.java61 static UnixFileAttributes get(UnixPath path, boolean followLinks) argument
65 if (followLinks) {
81 static UnixFileAttributes get(int dfd, UnixPath path, boolean followLinks) argument
85 int flag = (followLinks) ? 0 : UnixConstants.AT_SYMLINK_NOFOLLOW;
H A DUnixPath.java769 int openForAttributeAccess(boolean followLinks) throws IOException { argument
771 if (!followLinks) {
832 if (Util.followLinks(options)) {
H A DUnixSecureDirectoryStream.java94 boolean followLinks = Util.followLinks(options);
113 if (!followLinks)
273 boolean followLinks)
279 return (V) new BasicFileAttributeViewImpl(file, followLinks);
282 return (V) new PosixFileAttributeViewImpl(file, followLinks);
305 boolean followLinks = Util.followLinks(options);
306 return getFileAttributeViewImpl(file, type, followLinks);
316 final boolean followLinks; field in class:UnixSecureDirectoryStream.BasicFileAttributeViewImpl
271 getFileAttributeViewImpl(UnixPath file, Class<V> type, boolean followLinks) argument
318 BasicFileAttributeViewImpl(UnixPath file, boolean followLinks) argument
434 PosixFileAttributeViewImpl(UnixPath file, boolean followLinks) argument
[all...]

Completed in 90 milliseconds