| 程序包 | 说明 |
|---|---|
| xyz.scootaloo.console.app.parser.preset | |
| xyz.scootaloo.console.app.util |
| 限定符和类型 | 类和说明 |
|---|---|
class |
SystemPresetCmd
系统预设的命令,可以使用 find -t sys 命令查看到
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
InvokeProxy
传递或者调用会抛出异常的方法
对 try-catch 的异常处理方式进行了包装,当需要调用会抛出异常的方式时,例如:
public File getFile(String filename) throws NoSuchFileException {
// some code ...
}
调用时 InvokeProxy.fun(fileUtils::getFile).call("filename") , 这样完成调用。 |
Copyright © 2021. All rights reserved.