Searched defs:URL (Results 1 - 2 of 2) sorted by relevance

/libcore/benchmarks/src/benchmarks/regression/
H A DEqualsHashCodeBenchmark.java22 import java.net.URL;
31 URL() { method in enum:EqualsHashCodeBenchmark.Type
33 return new URL(text);
/libcore/luni/src/main/java/java/net/
H A DURL.java37 * <h3>Parts of a URL</h3>
38 * A URL is composed of many parts. This class can both parse URL strings into
39 * parts and compose URL strings from parts. For example, consider the parts of
40 * this URL:
75 public final class URL implements Serializable { class in inherits:Serializable
119 * Creates a new URL instance by parsing {@code spec}.
122 * URL.
124 public URL(String spec) throws MalformedURLException { method in class:URL
125 this((URL) nul
136 public URL(URL context, String spec) throws MalformedURLException { method in class:URL
150 public URL(URL context, String spec, URLStreamHandler handler) throws MalformedURLException { method in class:URL
201 public URL(String protocol, String host, String file) throws MalformedURLException { method in class:URL
215 public URL(String protocol, String host, int port, String file) throws MalformedURLException { method in class:URL
231 public URL(String protocol, String host, int port, String file, method in class:URL
[all...]

Completed in 3467 milliseconds