public final class Util extends Object
Modifier and Type | Method and Description |
---|---|
static String |
concatPath(String root,
String param) |
static String |
getFileName(String path) |
static String |
normalizeFilename(String path) |
static <T> T |
retry(Callable<T> action,
int time) |
static String |
toJson(Object o) |
static String[] |
toStringArray(List list) |
static List<String> |
toStringList(List list) |
static boolean |
verifyGitUrl(String location)
Verify whether the location is a legal git url or a local directory.
|
public static boolean verifyGitUrl(String location)
location
- github url or local directory.Copyright © 2016–2021. All rights reserved.