public class WindowsJunctionUtils
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
WindowsJunctionUtils()
Empty constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static WindowsJunctionUtils |
getWindowsJunctionUtils()
Method to retrieve The WindowsJunctionUtils, which is shared by
all users of this method.
|
boolean |
isJunction(java.io.File file)
Checks whether a given file is a windows junction.
|
boolean |
isJunction(java.nio.file.Path path)
Checks whether a given path is a windows junction.
|
boolean |
isJunctionSafe(java.io.File file)
Checks whether a given file is a windows junction.
|
boolean |
isJunctionSafe(java.nio.file.Path path)
Checks whether a given path is a windows junction.
|
public static WindowsJunctionUtils getWindowsJunctionUtils()
public boolean isJunction(java.io.File file)
throws java.io.IOException
java.io.IOException - on error.public boolean isJunctionSafe(java.io.File file)
public boolean isJunctionSafe(java.nio.file.Path path)
public boolean isJunction(java.nio.file.Path path)
throws java.io.IOException
java.io.IOException - on error.