Lines Matching defs:path
228 static JarFile newJarFile(Path path) {
230 return new JarFile(new File(path.toString()),
239 JarModuleReader(Path path, URI uri) {
240 this.jf = newJarFile(path);
297 static JmodFile newJmodFile(Path path) {
299 return new JmodFile(path);
305 JModModuleReader(Path path, URI uri) {
306 this.jf = newJmodFile(path);
384 Path path = Resources.toFilePath(dir, name);
385 if (path != null) {
387 return Optional.of(path.toUri());
399 Path path = Resources.toFilePath(dir, name);
400 if (path != null) {
401 return Optional.of(Files.newInputStream(path));
410 Path path = Resources.toFilePath(dir, name);
411 if (path != null) {
412 return Optional.of(ByteBuffer.wrap(Files.readAllBytes(path)));