MCPcopy Create free account
hub / github.com/SeanDragon/protools / getPath

Method getPath

common/src/main/java/pro/tools/path/ToolPath.java:51–56  ·  view source on GitHub ↗
(String first, String... more)

Source from the content-addressed store, hash-verified

49 private static final OpenOption[] WRITE_CREATE_APPEND = new StandardOpenOption[]{StandardOpenOption.WRITE, StandardOpenOption.CREATE, StandardOpenOption.APPEND};
50
51 public static Path getPath(String first, String... more) {
52 if (ToolStr.isBlank(first)) {
53 throw new NullPointerException("first is null");
54 }
55 return Paths.get(first, more).normalize();
56 }
57
58 public static Path getPath(URI uri) {
59 if (uri == null) {

Callers 8

copyMethod · 0.95
moveMethod · 0.95
initMethod · 0.95
copyOrMoveDirMethod · 0.45
getDirNameMethod · 0.45
getFileNameMethod · 0.45
getFileExtensionMethod · 0.45

Calls 2

isBlankMethod · 0.95
getMethod · 0.80

Tested by

no test coverage detected