Class SymlinkUtils

java.lang.Object
org.codehaus.plexus.components.io.attributes.SymlinkUtils

public class SymlinkUtils extends Object
  • Constructor Details

    • SymlinkUtils

      public SymlinkUtils()
  • Method Details

    • readSymbolicLink

      @Nonnull public static File readSymbolicLink(@Nonnull File symlink) throws IOException
      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