Package com.github.robtimus.filesystems
Class LinkOptionSupport
- java.lang.Object
-
- com.github.robtimus.filesystems.LinkOptionSupport
-
public final class LinkOptionSupport extends Object
A utility class forLinkOption
s.- Author:
- Rob Spoor
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
followLinks(LinkOption... options)
Returns whether or not the given link options indicate that links should be followed.
-
-
-
Method Detail
-
followLinks
public static boolean followLinks(LinkOption... options)
Returns whether or not the given link options indicate that links should be followed.- Parameters:
options
- The link options to check.- Returns:
false
if one of the given link options isLinkOption.NOFOLLOW_LINKS
, ortrue
otherwise.
-
-