Class WindowsFS

  • public class WindowsFS
    extends Object
    Utility class for working with windows FS
    • Constructor Detail

      • WindowsFS

        public WindowsFS()
    • Method Detail

      • createSymbolicLink

        public void createSymbolicLink​(Path symlink,
                                       Path target,
                                       boolean dirLink)
                                throws IOException
        Creates a symbolic link (using CreateSymbolicLink winapi call under the hood).
        symlink - the path of the symbolic link to create
        target - the target of the symbolic link
        dirLink - whether the target is a directory
        IOException - if an underlying system call fails