类 SystemSupport
java.lang.Object
tech.mhuang.pacebox.core.system.SystemSupport
系统扩展类
- 从以下版本开始:
- 1.0.0
- 作者:
- mhuang
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
SystemSupport
public SystemSupport()
-
-
方法详细资料
-
isSymLink
Invokes isSymbolicLink- 参数:
file- The file to check- 返回:
- true if the file is a symbolic link
-
readSymbolicLink
Reads the target of a symbolic link- 参数:
symlink- The symlink to read- 返回:
- The location the symlink is pointing to
- 抛出:
IOException- Upon failure
-
createSymbolicLink
Creates a symbolic link- 参数:
symlink- The symlink to createtarget- Where it should point- 返回:
- The newly created symlink
- 抛出:
IOException- upon error
-
delete
Performs a nio delete- 参数:
file- the file to delete- 抛出:
IOException- Upon error
-