(String first, String... more)
| 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) { |
no test coverage detected