public class WindowsFS extends Object
Constructor and Description |
---|
WindowsFS() |
Modifier and Type | Method and Description |
---|---|
void |
createSymbolicLink(Path symlink,
Path target,
boolean dirLink)
Creates a symbolic link (using CreateSymbolicLink winapi call under the hood).
|
public void createSymbolicLink(Path symlink, Path target, boolean dirLink) throws IOException
symlink
- the path of the symbolic link to createtarget
- the target of the symbolic linkdirLink
- whether the target is a directoryIOException
- if an underlying system call fails