Package org.aksw.commons.io.util.symlink
Class SymbolicLinkStrategyStandard
java.lang.Object
org.aksw.commons.io.util.symlink.SymbolicLinkStrategyStandard
- All Implemented Interfaces:
SymbolicLinkStrategy
Symlink strategy based on the standard methods
Files.createSymbolicLink(Path, Path, java.nio.file.attribute.FileAttribute...)
and
Files.readSymbolicLink(Path)- Author:
- raven
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateSymbolicLink(Path link, Path target) booleanisSymbolicLink(Path path) readSymbolicLink(Path link)
-
Constructor Details
-
SymbolicLinkStrategyStandard
public SymbolicLinkStrategyStandard()
-
-
Method Details
-
createSymbolicLink
- Specified by:
createSymbolicLinkin interfaceSymbolicLinkStrategy- Throws:
IOException
-
readSymbolicLink
- Specified by:
readSymbolicLinkin interfaceSymbolicLinkStrategy- Throws:
IOException
-
isSymbolicLink
- Specified by:
isSymbolicLinkin interfaceSymbolicLinkStrategy
-