/openjdk10/nashorn/test/script/basic/ |
H A D | compile-octane-splitter.js | 42 var url = new java.io.File(fn).toURL(); 43 loadWithNewGlobal(url);
|
H A D | compile-octane-normal.js | 41 var url = new java.io.File(fn).toURL(); 42 loadWithNewGlobal(url);
|
H A D | JDK-8053905.js | 38 var url = new java.io.File(fn).toURL(); 39 load(url);
|
/openjdk10/jdk/test/java/net/URL/ |
H A D | TestPort.java | 36 URL url = new URL("http","server",Integer.MAX_VALUE,"/path"); 37 url = new URL("http://server:"+Integer.MAX_VALUE+"/path"); 38 url = new URL("http://server/path"); 39 url = new URL("http","server",-1,"/path"); 42 url = new URL("ftp", "java.sun.com", -20, "/pub/"); 49 url = new URL("ftp://java.sun.com:-20/pub/");
|
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 | 47 URL url = uri.toURL(); 49 boolean schemeCheck = scheme == null? url.getProtocol() == null : 50 scheme.equals(url.getProtocol()); 53 " url.protocol is " + 54 url.getProtocol()); 59 ssp.equals(url.getPath()); 62 " url.path is " + url.getPath()); 67 url.getAuthority() == null : 68 authority.equals(url [all...] |
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 | GetDefaultPort.java | 35 URL url = new URL ("http://www.sun.com"); 37 if ((p=url.getDefaultPort ()) != 80)
|
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");
|
/openjdk10/corba/src/java.corba/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;
|
/openjdk10/corba/src/java.corba/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;
|
/openjdk10/jdk/src/java.naming/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.*;
|
/openjdk10/langtools/test/tools/javac/doctree/ |
H A D | SeeTest.java | 57 * @see <a href="url">url</a> 59 void url() { } method in class:SeeTest 75 Text[TEXT, pos:21, url] 78 Text[TEXT, pos:26, url]
|
/openjdk10/jdk/src/jdk.naming.rmi/share/classes/com/sun/jndi/url/rmi/ |
H A D | rmiURLContext.java | 26 package com.sun.jndi.url.rmi; 32 import com.sun.jndi.toolkit.url.GenericURLContext; 55 * Resolves the registry portion of "url" to the corresponding 59 protected ResolveResult getRootURLContext(String url, Hashtable<?,?> env) argument 62 if (!url.startsWith("rmi:")) { 64 "rmiURLContext: name is not an RMI URL: " + url)); 73 int i = 4; // index into url, following the "rmi:" 75 if (url.startsWith("//", i)) { // parse "//host:port" 77 int slash = url.indexOf('/', i); 79 slash = url [all...] |
/openjdk10/jaxws/src/java.activation/share/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...] |
/openjdk10/jdk/src/java.sql.rowset/share/classes/javax/sql/rowset/serial/ |
H A D | SerialDatalink.java | 43 * java.net.URL url = rowset.getURL(1); 60 private URL url; field in class:SerialDatalink 82 * @param url the {@code URL} to create the {@code SerialDataLink} from 83 * @throws SerialException if url parameter is a null 85 public SerialDatalink(URL url) throws SerialException { argument 86 if (url == null) { 89 this.url = url; 105 aURL = new URL((this.url).toString()); 130 return url [all...] |
/openjdk10/jdk/test/com/sun/jndi/ldap/ |
H A D | LdapURLOptionalFields.java | 45 String url = TEST_URLS[i]; 46 checkEmptyAttributes(url); 51 LdapURL url = new LdapURL(urlString); 52 if (url.getAttributes() != null) { 53 throw new Exception("Expected null attributes for url: '" + urlString + "'"); 55 if (url.getScope() != null) { 56 throw new Exception("Expected null scope for url: '" + urlString + "'"); 58 if (url.getFilter() != null) { 59 throw new Exception("Expected null filter for url: '" + urlString + "'");
|
/openjdk10/corba/src/java.corba/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...] |
/openjdk10/corba/src/java.corba/share/classes/com/sun/jndi/url/iiop/ |
H A D | iiopURLContext.java | 26 package com.sun.jndi.url.iiop; 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);
|
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xpath/internal/ |
H A D | SourceTree.java | 39 * @param url The URI of the source tree. 41 public SourceTree(int root, String url) argument 44 m_url = url;
|
/openjdk10/jdk/src/java.base/windows/classes/jdk/internal/loader/ |
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('/', '\\');
|
/openjdk10/jdk/src/java.desktop/share/classes/sun/applet/ |
H A D | AppletResourceLoader.java | 37 public static Image getImage(URL url) { argument 38 return AppletViewer.getCachedImage(url);
|
/openjdk10/hotspot/src/jdk.hotspot.agent/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);
|
/openjdk10/jdk/src/java.base/share/classes/sun/net/util/ |
H A D | URLUtil.java | 38 * Returns a string form of the url suitable for use as a key in HashMap/Sets. 47 public static String urlNoFragString(URL url) { argument 50 String protocol = url.getProtocol(); 58 String host = url.getHost(); 64 int port = url.getPort(); 68 port = url.getDefaultPort(); 75 String file = url.getFile(); 83 public static Permission getConnectPermission(URL url) throws IOException { argument 84 String urlStringLowerCase = url.toString().toLowerCase(); 86 return getURLConnectPermission(url); 99 getURLConnectPermission(URL url) argument [all...] |