Class SymlinkUtils
java.lang.Object
org.codehaus.plexus.components.io.attributes.SymlinkUtils
- Author:
- Kristian Rosenvold
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic File
createSymbolicLink
(File symlink, File target) static File
readSymbolicLink
(File symlink) Reads the target of the symbolic link
-
Constructor Details
-
SymlinkUtils
public SymlinkUtils()
-
-
Method Details
-
readSymbolicLink
Reads the target of the symbolic link- Parameters:
symlink
- A file that is a symlink- Returns:
- A file that is the target of the symlink
- Throws:
IOException
-
createSymbolicLink
@Nonnull public static File createSymbolicLink(@Nonnull File symlink, File target) throws IOException - Throws:
IOException
-