public interface CommonUtil
| 限定符和类型 | 接口和说明 |
|---|---|
static interface |
CommonUtil.ActionE0<E extends Exception> |
static interface |
CommonUtil.FuncE0<R,E extends Exception> |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
ensureFileSystem(URI uri) |
static String |
getStackTraceString(Throwable tr) |
static <T extends Throwable,R> |
throwAsUncheck(Throwable t) |
static <T> T |
uncatch(CommonUtil.FuncE0<T,?> task) |
static void |
uncheck(CommonUtil.ActionE0<?> task) |
static <T> T |
uncheck(CommonUtil.FuncE0<T,?> task) |
static void ensureFileSystem(URI uri) throws IOException
IOExceptionstatic <T extends Throwable,R> R throwAsUncheck(Throwable t) throws T extends Throwable
T extends Throwablestatic void uncheck(CommonUtil.ActionE0<?> task)
static <T> T uncheck(CommonUtil.FuncE0<T,?> task)
static <T> T uncatch(CommonUtil.FuncE0<T,?> task)
task - Copyright © 2018. All rights reserved.