/libcore/ojluni/src/main/java/sun/misc/ |
H A D | FileURLMapper.java | 45 URL url; field in class:FileURLMapper 48 public FileURLMapper (URL url) { argument 49 this.url = url; 61 String host = url.getHost(); 63 path = url.getFile();
|
/libcore/ojluni/src/main/java/sun/net/ |
H A D | ProgressMeteringPolicy.java | 39 public boolean shouldMeterInput(URL url, String method); argument
|
H A D | ProgressEvent.java | 38 private URL url; field in class:ProgressEvent 53 public ProgressEvent(ProgressSource source, URL url, String method, String contentType, ProgressSource.State state, long progress, long expected) { argument 55 this.url = url; 68 return url; 110 return getClass().getName() + "[url=" + url + ", method=" + method + ", state=" + state
|
H A D | ProgressMonitor.java | 97 public boolean shouldMeterInput(URL url, String method) { argument 98 return meteringPolicy.shouldMeterInput(url, method); 243 public boolean shouldMeterInput(URL url, String method) argument
|
/libcore/ojluni/src/main/java/sun/net/util/ |
H A D | URLUtil.java | 35 * Returns a string form of the url suitable for use as a key in HashMap/Sets. 44 public static String urlNoFragString(URL url) { argument 47 String protocol = url.getProtocol(); 55 String host = url.getHost(); 61 int port = url.getPort(); 65 port = url.getDefaultPort(); 72 String file = url.getFile(); 82 public static Permission getConnectPermission(URL url) throws IOException { 83 String urlStringLowerCase = url.toString().toLowerCase(); 85 return getURLConnectPermission(url); [all...] |
/libcore/support/src/test/java/tests/support/ |
H A D | Support_ClassLoaderDalvik.java | 40 public ClassLoader getClassLoader(URL url, ClassLoader parent) { argument 41 return new DexClassLoader(url.getPath(), tmp.getAbsolutePath(),
|
H A D | Support_ClassLoader.java | 29 public abstract ClassLoader getClassLoader(URL url, ClassLoader parent); argument 31 public static ClassLoader getInstance(URL url, ClassLoader parent) { argument 44 return factory.getClassLoader(url, parent); 56 public ClassLoader getClassLoader(URL url, ClassLoader parent) { argument 57 return new URLClassLoader(new URL[] { url }, parent);
|
H A D | Support_GetLocal.java | 37 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/luni/src/test/java/libcore/java/net/customstreamhandler/http/ |
H A D | Handler.java | 30 @Override protected URLConnection openConnection(URL url) throws IOException { argument 31 return new HandlerURLConnection(url); 35 protected HandlerURLConnection(URL url) { argument 36 super(url);
|
/libcore/ojluni/src/main/java/java/net/ |
H A D | JarURLConnection.java | 43 * jar:<url>!/{entry} 62 * URL url = new URL("jar:file:/home/duke/duke.jar!/"); 63 * JarURLConnection jarConnection = (JarURLConnection)url.openConnection(); 87 * <p>When constructing a JAR url via {@code new URL(context, spec)}, 110 * <dd>url:<b>jar:http://www.foo.com/bar/jar.jar!/baz/entry.txt</b> 115 * <dd>url:<b>jar:http://www.foo.com/bar/jar.jar!/baz/entry.txt</b> 120 * <dd>url:<b>jar:http://www.foo.com/bar/jar.jar!/entry.txt</b> 150 * @param url the URL 156 protected JarURLConnection(URL url) throws MalformedURLException { argument 157 super(url); 164 parseSpecs(URL url) argument [all...] |
/libcore/ojluni/src/main/java/java/security/ |
H A D | CodeSource.java | 53 public CodeSource(URL url, java.security.cert.Certificate certs[]) { argument 54 this.location = url; 57 public CodeSource(URL url, CodeSigner[] signers) { argument 58 this.location = url;
|
/libcore/ojluni/src/main/java/java/sql/ |
H A D | Driver.java | 73 * @param url the URL of the database to which to connect 81 Connection connect(String url, java.util.Properties info) argument 90 * @param url the URL of the database 95 boolean acceptsURL(String url) throws SQLException; argument 109 * @param url the URL of the database to which to connect 117 DriverPropertyInfo[] getPropertyInfo(String url, java.util.Properties info) argument
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/ |
H A D | Handler.java | 45 private String getHost(URL url) { argument 46 String host = url.getHost();
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
H A D | JarFileFactory.java | 45 /* the url to file cache */ 48 /* the file to url cache */ 70 public JarFile get(URL url) throws IOException { argument 71 return get(url, true); 74 JarFile get(URL url, boolean useCaches) throws IOException { argument 81 result = getCachedJarFile(url); 84 local_result = URLJarFile.getJarFile(url, this); 86 result = getCachedJarFile(url); 88 fileCache.put(URLUtil.urlNoFragString(url), local_result); 89 urlCache.put(local_result, url); 120 getCachedJarFile(URL url) argument [all...] |
H A D | Handler.java | 127 protected void parseURL(URL url, String spec, argument 137 file = url.getFile(); 142 // 2. relative (i.e. url + foo/bar/baz.ext) 143 // 3. anchor-only (i.e. url + #foo), which we already did (refOnly) 153 file = parseContextSpec(url, spec); 163 setURL(url, "jar", "", -1, file, ref); 167 URL url = null; 176 url = new URL(innerSpec); 178 throw new NullPointerException("invalid url: " + 184 private String parseContextSpec(URL url, Strin argument [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | URLConnectionBenchmark.java | 39 private URL url; field in class:URLConnectionBenchmark 63 url = server.getUrl("/"); 81 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); 82 // URLConnection connection = url.openConnection();
|
/libcore/dom/src/test/java/org/w3c/domts/ |
H A D | BatikTestDocumentBuilderFactory.java | 126 * @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 D | DOM4JTestDocumentBuilderFactory.java | 105 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 D | DOMTestDocumentBuilderFactory.java | 64 public abstract Document load(java.net.URL url) throws DOMTestLoadException; argument
|
H A D | JTidyDocumentBuilderFactory.java | 87 public Document load(java.net.URL url) throws DOMTestLoadException { argument 90 java.io.InputStream stream = url.openStream();
|
H A D | JAXPDOMTestDocumentBuilderFactory.java | 118 public Document load(java.net.URL url) throws DOMTestLoadException { argument 124 InputStream stream = url.openStream(); 125 doc = builder.parse(stream, url.toString());
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | ClassPathURLStreamHandler.java | 83 protected URLConnection openConnection(URL url) throws IOException { argument 84 return new ClassPathURLConnection(url); 135 public ClassPathURLConnection(URL url) throws MalformedURLException { argument 136 super(url); 146 "URL does not correspond to an entry in the zip file. URL=" + url
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | OldURLClassLoaderTest.java | 154 URL url = file.toURL(); 155 TestURLClassLoader urlClassLoader = new TestURLClassLoader(new URL[] { url }); 156 CodeSource codeSource = new CodeSource(url, new Certificate[0]); 200 public void addURL(URL url) { argument 201 super.addURL(url); 206 URL url) 208 return super.definePackage(name, man, url); 284 String url; 287 url = "file:" + path; 289 url 204 definePackage(String name, Manifest man, URL url) argument [all...] |
/libcore/luni/src/test/java/tests/support/ |
H A D | Support_SQL.java | 80 throw new SQLException("Failed to connect. url=" + Support_SQL.sqlUrl + ", sqlLogin=" 85 public static Connection getConnection(String url, String login, argument 88 return DriverManager.getConnection(url, login, password);
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
H A D | HttpsURLConnection.java | 63 * @param url the URL 65 protected HttpsURLConnection(URL url) { argument 66 super(url);
|