/openjdk7/jdk/test/java/net/URL/ |
H A D | TestPort.java | 34 URL url = null; 36 url = new URL("ftp", "java.sun.com", -20, "/pub/"); 38 url = null; 40 if (url != null) 43 url = new URL("ftp://java.sun.com:-20/pub/"); 45 url = null; 47 if (url != null)
|
H A D | RelativeURLTest.java | 35 URL url = new URL(base, "../images/dummy/../././foo.gif"); 37 if (!url.toString().equals("file:../images/foo.gif")) { 40 "got: "+url.toString());
|
H A D | HashCode.java | 36 URL url = new URL("http", null, 80, "test"); 37 int code = url.hashCode();
|
H A D | URIToURLTest.java | 39 "mailto:mduerst@ifi.unizh.ch", // opaque url 40 "http:comp.infosystems.www.servers.unix" //opaque url 45 URL url = uri.toURL(); 47 boolean schemeCheck = scheme == null? url.getProtocol() == null : 48 scheme.equals(url.getProtocol()); 51 " url.protocol is " + 52 url.getProtocol()); 57 ssp.equals(url.getPath()); 60 " url.path is " + url [all...] |
H A D | GetDefaultPort.java | 35 URL url = new URL ("http://www.sun.com"); 37 if ((p=url.getDefaultPort ()) != 80)
|
H A D | Protocol.java | 36 URL url = new URL("file://bogus/index.html"); 37 URL url2 = new URL(url, "here.pl?notaspec:atall");
|
H A D | ParseURL.java | 34 String url = new URL(new URL("http://cnn.com"), "index.html").toExternalForm(); 35 if (url.equalsIgnoreCase("http://cnn.com/index.html")) { 38 throw new RuntimeException("The result is "+url+", it should be http://cnn.com/index.html");
|
/openjdk7/jdk/src/share/classes/com/sun/jndi/url/corbaname/ |
H A D | corbanameURLContextFactory.java | 26 package com.sun.jndi.url.corbaname; 28 import com.sun.jndi.url.iiop.iiopURLContextFactory;
|
/openjdk7/jdk/src/share/classes/com/sun/jndi/url/iiopname/ |
H A D | iiopnameURLContextFactory.java | 26 package com.sun.jndi.url.iiopname; 28 import com.sun.jndi.url.iiop.iiopURLContextFactory;
|
/openjdk7/jdk/src/share/classes/com/sun/jndi/url/ldaps/ |
H A D | ldapsURLContextFactory.java | 26 package com.sun.jndi.url.ldaps; 28 import com.sun.jndi.url.ldap.*;
|
/openjdk7/jdk/src/share/classes/sun/applet/ |
H A D | AppletResourceLoader.java | 37 public static Image getImage(URL url) { argument 38 return AppletViewer.getCachedImage(url); 41 public static Ref getImageRef(URL url) { argument 42 return AppletViewer.getCachedImageRef(url);
|
H A D | AppletImageRef.java | 34 URL url; field in class:AppletImageRef 39 AppletImageRef(URL url) { argument 40 this.url = url; 51 Image img = Toolkit.getDefaultToolkit().createImage(new URLImageSource(url));
|
/openjdk7/jdk/src/share/classes/com/sun/jndi/url/rmi/ |
H A D | rmiURLContext.java | 26 package com.sun.jndi.url.rmi; 33 import com.sun.jndi.toolkit.url.GenericURLContext; 56 * Resolves the registry portion of "url" to the corresponding 60 protected ResolveResult getRootURLContext(String url, Hashtable env) argument 63 if (!url.startsWith("rmi:")) { 65 "rmiURLContext: name is not an RMI URL: " + url)); 74 int i = 4; // index into url, following the "rmi:" 76 if (url.startsWith("//", i)) { // parse "//host:port" 78 int slash = url.indexOf('/', i); 80 slash = url [all...] |
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/ |
H A D | HttpCallerInfo.java | 47 final public URL url; field in class:HttpCallerInfo 57 this.url = old.url; 70 public HttpCallerInfo(URL url) { argument 71 this.url= url; 73 host = url.getHost(); 75 int p = url.getPort(); 77 port = url.getDefaultPort(); 84 ia = InetAddress.getByName(url 98 HttpCallerInfo(URL url, String host, int port) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jndi/url/iiop/ |
H A D | iiopURLContext.java | 26 package com.sun.jndi.url.iiop; 43 extends com.sun.jndi.toolkit.url.GenericURLContext { 65 * Return the suffix of an "iiop", "iiopname", or "corbaname" url. 68 protected Name getURLSuffix(String prefix, String url) argument 71 if (url.startsWith("iiop://") || url.startsWith("iiopname://")) { 72 IiopUrl parsedUrl = new IiopUrl(url); 74 } else if (url.startsWith("corbaname:")) { 75 CorbanameUrl parsedUrl = new CorbanameUrl(url); 78 throw new MalformedURLException("Not a valid URL: " + url); [all...] |
/openjdk7/jaxws/src/share/jaf_classes/javax/activation/ |
H A D | URLDataSource.java | 48 private URL url = null; field in class:URLDataSource 56 * @param url The URL to be encapsulated in this object. 58 public URLDataSource(URL url) { argument 59 this.url = url; 78 url_conn = url.openConnection(); 97 return url.getFile(); 107 return url.openStream(); 119 // get the url connection if it is available 120 url_conn = url [all...] |
/openjdk7/jdk/src/share/classes/javax/sql/rowset/serial/ |
H A D | SerialDatalink.java | 43 * java.net.URL url = rowset.getURL(1); 52 private URL url; field in class:SerialDatalink 74 * @throws SerialException if url parameter is a null 76 public SerialDatalink(URL url) throws SerialException { argument 77 if (url == null) { 80 this.url = url; 96 aURL = new URL((this.url).toString());
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/naming/namingutil/ |
H A D | CorbanameURL.java | 44 * This constructor takes a corbaname: url with 'corbaname:' prefix stripped 49 String url = aURL; 53 url = Utility.cleanEscapes( url ); 58 int delimiterIndex = url.indexOf( '#' ); 64 url.substring( 0, delimiterIndex ) + "/"; 68 corbalocString = "corbaloc:" + url.substring( 0, url.length() ); 89 String result = url.substring(start) ; 110 private void copyINSURL( INSURL url ) { [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/ |
H A D | SourceTree.java | 40 * @param url The URI of the source tree. 42 public SourceTree(int root, String url) argument 45 m_url = url;
|
/openjdk7/jdk/src/share/classes/com/sun/jndi/cosnaming/ |
H A D | CorbanameUrl.java | 32 import com.sun.jndi.toolkit.url.UrlUtil; 39 * corbaname url = "corbaname:" <corbaloc_obj> ["#" <string_name>] 88 public CorbanameUrl(String url) throws MalformedURLException { argument 90 if (!url.startsWith("corbaname:")) { 91 throw new MalformedURLException("Invalid corbaname URL: " + url); 96 int addrEnd = url.indexOf('#', addrStart); 98 addrEnd = url.length(); 101 stringName = UrlUtil.decode(url.substring(addrEnd+1)); 103 location = url.substring(addrStart, addrEnd); 119 CorbanameUrl url [all...] |
/openjdk7/jdk/src/windows/classes/sun/misc/ |
H A D | FileURLMapper.java | 41 URL url; field in class:FileURLMapper 44 public FileURLMapper (URL url) { argument 45 this.url = url; 57 String host = url.getHost(); 60 String rest = url.getFile(); 61 String s = host + ParseUtil.decode (url.getFile()); 65 String path = url.getFile().replace('/', '\\');
|
/openjdk7/jdk/test/java/net/URLConnection/ |
H A D | UNCTest.java | 28 URL url = new URL( args[0] ); 29 URLConnection conn = url.openConnection();
|
/openjdk7/hotspot/agent/src/share/classes/com/sun/java/swing/action/ |
H A D | ActionUtilities.java | 40 java.net.URL url = getClass().getResource(imagePath); 41 if(url != null) 42 return new ImageIcon(url);
|
/openjdk7/jdk/src/share/sample/scripting/scriptpad/src/scripts/ |
H A D | browse.js | 60 var url = prompt("Address:"); 61 if (url != null) { 62 desktop.browse(new java.net.URI(url));
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/ |
H A D | EndpointAddress.java | 87 private URL url; field in class:EndpointAddress 94 * If {@link #url} is null, this field is null. 104 this.url = uri.toURL(); 115 public EndpointAddress(String url) throws URISyntaxException { argument 116 this.uri = new URI(url); 117 this.stringForm = url; 119 this.url = new URL(url); 130 public static EndpointAddress create(String url) { argument 132 return new EndpointAddress(url); [all...] |