Lines Matching refs:path
32 public boolean exists(Path path) {
33 return Files.exists(path);
36 public boolean isDirectory(Path path) {
37 return Files.isDirectory(path);
40 private static FileSystem makeJarFileSystem(Path path) {
42 return FileSystems.newFileSystem(makeJarFileURI(path), new HashMap<>());
48 private static URI makeJarFileURI(Path path) {
50 String name = path.toAbsolutePath().toString();
58 public ClassLoader createClassLoader(Path path, ClassLoader parent) {
60 return URLClassLoader.newInstance(buildUrls(path), parent);
66 public ClassLoader createClassLoader(Path path) throws MalformedURLException {
67 return URLClassLoader.newInstance(buildUrls(path));
70 private static URL[] buildUrls(Path path) throws MalformedURLException {
71 return new URL[]{path.toUri().toURL()};
83 public Path getSubDirectory(FileSystem fileSystem, Path root, Path path) throws IOException {
87 if (relative.equals(path)) {