Searched refs:url (Results 1 - 25 of 68) sorted by last modified time

123

/libcore/support/src/test/java/tests/support/
H A DSupport_ClassLoader.java31 public abstract ClassLoader getClassLoader(URL url, ClassLoader parent); argument
33 public static ClassLoader getInstance(URL url, ClassLoader parent) { argument
45 return factory.getClassLoader(url, parent);
68 public ClassLoader getClassLoader(URL url, ClassLoader parent) { argument
69 return new DexClassLoader(url.getPath(), tmp.getAbsolutePath(),
80 public ClassLoader getClassLoader(URL url, ClassLoader parent) { argument
81 return new URLClassLoader(new URL[] { url }, parent);
H A DSupport_GetLocal.java37 public static File getLocalFile(String url) throws IOException, argument
39 url = Support_Resources.RESOURCE_PACKAGE + url;
40 File temp = cache.get(url);
42 InputStream in = Support_GetLocal.class.getResourceAsStream(url);
53 cache.put(url, temp);
58 public static File getExternalLocalFile(String url) throws IOException, argument
60 File temp = cache.get(url);
62 InputStream in = new URL(url).openStream();
73 cache.put(url, tem
78 getStream(String url) argument
[all...]
/libcore/support/src/test/java/tests/support/resource/
H A DSupport_Resources.java69 URL url = null;
75 url = new URL("file:/" + resPath + "/" + fileName);
80 return url.toString();
152 public static File getExternalLocalFile(String url) throws IOException { argument
154 InputStream in = new URL(url).openStream();
/libcore/xml/src/main/java/org/xmlpull/v1/sax2/
H A DDriver.java292 final URL url = new URL(systemId);
293 stream = url.openStream();
/libcore/dalvik/src/main/java/dalvik/system/
H A DDexPathList.java325 URL url = element.findResource(name);
326 if (url != null) {
327 return url;
343 URL url = element.findResource(name);
344 if (url != null) {
345 result.add(url);
/libcore/dom/src/test/java/org/w3c/domts/
H A DBatikTestDocumentBuilderFactory.java126 * @param url url to load
130 public Document load(java.net.URL url) throws DOMTestLoadException { argument
132 java.io.InputStream stream = url.openStream();
135 new Object[] {url.toString(), stream});
H A DDOM4JTestDocumentBuilderFactory.java105 public Document load(java.net.URL url) throws DOMTestLoadException { argument
106 if (url == null) {
107 throw new NullPointerException("url");
114 new Object[] {url});
H A DDOMTest.java176 URL url = tempFile.toURL();
177 return url.toString();
H A DDOMTestDocumentBuilderFactory.java64 public abstract Document load(java.net.URL url) throws DOMTestLoadException; argument
H A DJAXPDOMTestDocumentBuilderFactory.java118 public Document load(java.net.URL url) throws DOMTestLoadException { argument
124 InputStream stream = url.openStream();
125 doc = builder.parse(stream, url.toString());
H A DJTidyDocumentBuilderFactory.java87 public Document load(java.net.URL url) throws DOMTestLoadException { argument
90 java.io.InputStream stream = url.openStream();
H A DLSDocumentBuilderFactory.java327 * @param url url to load
331 public Document load(java.net.URL url) throws DOMTestLoadException { argument
334 new Object[] {url.toString()});
H A DXercesHTML2DocumentBuilderFactory.java199 public Document load(java.net.URL url) throws DOMTestLoadException { argument
205 parser.parse(url.toString(), handler);
H A DXercesHTMLDocumentBuilderFactory.java199 public Document load(java.net.URL url) throws DOMTestLoadException { argument
205 parser.parse(url.toString(), handler);
/libcore/luni/src/main/java/java/lang/
H A DClassLoader.java434 URL url = getResource(resName);
435 if (url != null) {
436 return url.openStream();
H A DPackage.java278 * @param url
280 * @return {@code true} if this package is sealed with {@code url}; {@code
283 public boolean isSealed(URL url) { argument
284 return sealBase != null && sealBase.sameFile(url);
/libcore/luni/src/main/java/java/net/
H A DAuthenticator.java42 private URL url; field in class:Authenticator
223 * url of the connection that requests authentication.
242 thisAuthenticator.url = rURL;
254 * @return authentication request url.
257 return url;
H A DHttpURLConnection.java57 * URL url = new URL("http://www.android.com/");
58 * HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection();
102 * HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection();
156 * HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection();
159 * if (!url.getHost().equals(urlConnection.getURL().getHost())) {
514 * resource specified by the {@code url}.
516 * @param url
521 protected HttpURLConnection(URL url) { argument
522 super(url);
572 int port = url
[all...]
H A DJarURLConnection.java31 * as follows: <i>jar:{archive-url}!/{entry}</i> where "!/" is called a
60 * @param url
65 protected JarURLConnection(URL url) throws MalformedURLException { argument
66 super(url);
67 file = url.getFile();
72 fileURL = new URL(url.getFile().substring(0,sepIdx));
78 if (url.getRef() != null) {
79 entryName += "#" + url.getRef();
H A DURI.java26 import libcore.net.url.UrlUtils;
H A DURL.java29 import libcore.net.url.FileHandler;
30 import libcore.net.url.FtpHandler;
31 import libcore.net.url.JarHandler;
32 import libcore.net.url.UrlUtils;
H A DURLClassLoader.java71 static IndexFile readIndexFile(JarFile jf, JarEntry indexEntry, URL url) { argument
76 String parentURLString = getParentURL(url).toExternalForm();
123 private static URL getParentURL(URL url) throws IOException { argument
124 URL fileURL = ((JarURLConnection) url.openConnection()).getJarFileURL();
146 URL url; field in class:URLClassLoader.URLHandler
149 public URLHandler(URL url) { argument
150 this.url = url;
151 this.codeSourceUrl = url;
162 URL resURL = targetURL(url, nam
245 URLJarHandler(URL url, URL jarURL, JarFile jf, String prefixName) argument
254 URLJarHandler(URL url, URL jarURL, JarFile jf, String prefixName, IndexFile index) argument
403 getSubHandler(URL url) argument
422 createURLSubJarHandler(URL url) argument
456 URLFileHandler(URL url) argument
564 addURL(URL url) argument
660 isDirectory(URL url) argument
763 createSearchURL(URL url) argument
846 createURLHandler(URL url) argument
850 createURLFileHandler(URL url) argument
854 createURLJarHandler(URL url) argument
911 definePackage(String packageName, Manifest manifest, URL url) argument
[all...]
H A DURLConnection.java36 * URL url = new URL("ftp://mirror.csclub.uwaterloo.ca/index.html");
37 * URLConnection urlConnection = url.openConnection();
84 protected URL url; field in class:URLConnection
152 * @param url
156 protected URLConnection(URL url) { argument
157 this.url = url;
194 if ((contentType = guessContentTypeFromName(url.getFile())) == null) {
228 if ((contentType = guessContentTypeFromName(url.getFile())) == null) {
657 return url;
680 guessContentTypeFromName(String url) argument
[all...]
H A DURLStreamHandler.java21 import libcore.net.url.UrlUtils;
74 * @param url
85 protected void parseURL(URL url, String spec, int start, int end) { argument
86 if (this != url.streamHandler) {
145 authority = url.getAuthority();
146 userInfo = url.getUserInfo();
147 host = url.getHost();
151 port = url.getPort();
152 path = url.getPath();
153 query = url
259 toExternalForm(URL url) argument
263 toExternalForm(URL url, boolean escapeIllegalCharacters) argument
321 getHostAddress(URL url) argument
336 hashCode(URL url) argument
[all...]
/libcore/luni/src/main/java/java/sql/
H A DDriver.java43 * @param url
52 public boolean acceptsURL(String url) throws SQLException; argument
58 * @param url
70 public Connection connect(String url, Properties info) throws SQLException; argument
94 * @param url
109 public DriverPropertyInfo[] getPropertyInfo(String url, Properties info) argument

Completed in 652 milliseconds

123