Searched refs:toURL (Results 1 - 16 of 16) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
H A DGZIPInputStreamTest.java61 final URL gInput = new File(resources.toString() + "/hyts_gInput.txt.gz").toURL();
83 final URL gInput = new File(resources.toString() + "/hyts_gInput.txt.gz").toURL();
101 final URL jarInput = new File(resources.toString() + "/hyts_checkInput.txt").toURL();
125 final URL gInput = new File(resources.toString() + "/hyts_gInput.txt.gz").toURL();
238 final URL gInput = new File(resources.toString() + "/hyts_gInput.txt.gz").toURL();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
H A DGenericSignatureFormatErrorTest.java75 ClassLoader cl = Support_ClassLoader.getInstance(tf.toURL(),
/libcore/luni/src/test/java/libcore/java/net/
H A DOldURLTest.java113 URL fileURL = sampleFile.toURL();
256 URL fileURL = sampleFile.toURL();
283 URL fileURL = sampleFile.toURL();
327 u = sampleFile.toURL();
422 URL fileURL = sampleFile.toURL();
719 u = sampleFile.toURL();
H A DURLConnectionTest.java2311 uri.toURL().openConnection().connect();
/libcore/support/src/test/java/tests/util/
H A DClassLoaderBuilder.java143 result.add(new File(pathElement).toURI().toURL());
/libcore/dom/src/test/java/org/w3c/domts/
H A DDOMTest.java117 resolvedURI = new java.io.File(filename).toURL();
174 // File.toURL is not as robust
176 URL url = tempFile.toURL();
/libcore/dalvik/src/main/java/dalvik/system/
H A DDexPathList.java507 return resourceFile.toURI().toURL();
525 * File.toURL() is compliant with RFC 1738 in
531 return new URL("jar:" + zip.toURL() + "!/" + name);
/libcore/luni/src/test/java/libcore/java/io/
H A DOldFileTest.java151 String newDirURL = dir.toURL().toString();
/libcore/luni/src/test/java/tests/org/w3c/dom/
H A DDOMTestCase.java84 resolvedURI = new java.io.File(filename).toURL();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DFileTest.java2069 * java.io.File#toURL()
2075 // Test for toURL when the file is a directory.
2087 dir.toURL().toString(), newDirURL);
2089 // Test for toURL with a file.
2099 f.toURL().toString(), newURL);
2103 newDirURL = dir.toURL().toString();
2126 * java.io.File#toURL()
2138 URL url2 = f.toURL();
/libcore/luni/src/main/java/java/io/
H A DFile.java1078 * @deprecated Use {@link #toURI} and {@link java.net.URI#toURL} to
1082 public URL toURL() throws java.net.MalformedURLException { method in class:File
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DURITest.java1803 * java.net.URI#toURL()
1817 new URI(absoluteuris[i]).toURL();
1825 new URI(relativeuris[i]).toURL();
H A DURLTest.java958 * java.net.URL#toURL()
963 assertTrue(u.equals(uri.toURL()));
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DControlTest.java473 if (null != URLLoader.getResourceAsStream(copyFile.toURL().toString())) {
/libcore/luni/src/main/java/java/net/
H A DURI.java59 * URL}, you can use {@link #toURL} to convert an absolute URI to a URL.
1377 public URL toURL() throws MalformedURLException { method in class:URI
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
H A DURLConnectionTest.java1255 return sampleFile.toURL();

Completed in 518 milliseconds