This commit is contained in:
huangyuhui
2016-02-26 23:42:45 +08:00
parent 09dbade477
commit db2b0cb159
11 changed files with 20 additions and 4 deletions

View File

@@ -125,6 +125,8 @@ public class IOUtils {
}
public static boolean isAbsolutePath(String path) {
if (path == null)
return false;
return path.startsWith("/") || path.indexOf(":") > 0;
}