Searched refs:toUri (Results 1 - 25 of 42) sorted by relevance

12

/openjdk7/langtools/src/share/classes/javax/tools/
H A DSimpleJavaFileObject.java73 public URI toUri() { method in class:SimpleJavaFileObject
78 return toUri().getPath();
184 * <p>This method calls {@link #getKind} and {@link #toUri} and
194 && (baseName.equals(toUri().getPath())
195 || toUri().getPath().endsWith("/" + baseName));
214 return getClass().getName() + "[" + toUri() + "]";
H A DForwardingFileObject.java60 public URI toUri() { method in class:ForwardingFileObject
61 return fileObject.toUri();
H A DFileObject.java57 URI toUri(); method in interface:FileObject
65 * "BobsApp\Test.java"} whereas the {@linkplain #toUri toUri}
/openjdk7/langtools/test/tools/javac/api/6420464/
H A DT6420464.java47 throw new AssertionError("isNameCompatible(SOURCE) fails on " + f.toUri());
49 throw new AssertionError("isNameCompatible(OTHER) fails on " + f.toUri());
/openjdk7/langtools/test/tools/javac/api/6440333/
H A DT6440333.java47 System.err.println("Found " + fo.toUri());
48 if (!expect.equals(fo.toUri())) {
/openjdk7/langtools/test/tools/javac/api/
H A DSibling.java51 if (!classFile.toUri().equals(file.toURI()))
53 classFile.toUri());
H A DT6258271.java41 if ("__input".equals(fo.toUri().getPath()))
H A DT6419926.java27 * @summary JSR 199: FileObject.toUri() generates URI without schema (Solaris)
45 URI uri = fo.toUri();
H A DT6483788.java27 * @summary DefaultFileManager.ZipFileObject.toUri() fails to escape space characters
49 URI uri = fo.toUri();
H A DT6501502.java27 * @summary JSR 199: FileObject.toUri should return file:///c:/ or file:/c:/ not file://c:/
64 URI uri = fo.toUri();
H A DT6397104.java57 File fileObjectFile = new File(fileObject.toUri()).getCanonicalFile();
/openjdk7/jdk/test/java/util/logging/bundlesearch/
H A DTwiceIndirectlyLoadABundle.java57 urls[0] = Paths.get(testDir,"resources").toUri().toURL();
58 urls[1] = Paths.get(testClassesDir).toUri().toURL();
H A DIndirectlyLoadABundle.java117 urls[0] = Paths.get(testDir, "resources").toUri().toURL();
118 urls[1] = Paths.get(testClassesDir).toUri().toURL();
/openjdk7/langtools/test/tools/javac/
H A DT6351767.java67 System.err.println("found " + jfo.toUri());
80 System.err.println("found " + jfo.toUri());
H A DT6403466.java131 + (file == null ? null : new File(file.toUri().getPath()).getName()) + ","
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsUriSupport.java45 private static URI toUri(String path, boolean isUnc, boolean addSlash) { method in class:WindowsUriSupport
98 static URI toUri(WindowsPath path) { method in class:WindowsUriSupport
112 return toUri(s, path.isUnc(), addSlash);
/openjdk7/jdk/test/java/nio/file/Path/
H A DUriImportExport.java45 URI uri = path.toUri();
62 URI uri = path.toUri();
86 URI result = path.toUri();
/openjdk7/jdk/test/demo/zipfs/
H A DZFSTests.java47 URI uri = URI.create("jar:" + path.toUri());
H A DBasic.java56 URI uri = new URI("jar", zipfile.toUri().toString(), null);
59 // Test: exercise toUri method
61 String actual = fs.getPath("/foo").toUri().toString();
63 throw new RuntimeException("toUri returned '" + actual +
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/util/
H A DSourcePositionImpl.java78 return new File(sourcefile.toUri());
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DPath.java483 * {@link Paths#get(URI) Paths.get}(</tt><i>p</i><tt>.toUri()).equals(</tt><i>p</i>
511 URI toUri(); method in interface:Path
/openjdk7/langtools/test/tools/javac/diags/
H A DFileManager.java138 public URI toUri() { method in class:FileManager.WrappedFileObject
139 return delegate.toUri();
/openjdk7/langtools/test/tools/javac/processing/filer/
H A DTestGetResource2.java129 messager.printMessage(Kind.NOTE, "found: " + resource.toUri());
132 messager.printMessage(Kind.ERROR, "could not read: " + resource.toUri());
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/
H A DBaseFileObject.java112 URI uri = fo.toUri();
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/nio/
H A DPathFileObject.java192 public URI toUri() { method in class:PathFileObject
193 return path.toUri();

Completed in 202 milliseconds

12