Package com.github.robtimus.filesystems
Class LinkOptionSupport
- java.lang.Object
-
- com.github.robtimus.filesystems.LinkOptionSupport
-
public final class LinkOptionSupport extends Object
A utility class forLinkOptions.- Author:
- Rob Spoor
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanfollowLinks(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:
falseif one of the given link options isLinkOption.NOFOLLOW_LINKS, ortrueotherwise.
-
-