1 18 19 package org.osgi.service.url; 20 21 import java.net.*; 22 23 40 public interface URLStreamHandlerService { 41 44 public URLConnection openConnection(URL u) throws java.io.IOException ; 45 46 55 public void parseURL(URLStreamHandlerSetter realHandler, URL u, 56 String spec, int start, int limit); 57 58 61 public String toExternalForm(URL u); 62 63 66 public boolean equals(URL u1, URL u2); 67 68 71 public int getDefaultPort(); 72 73 76 public InetAddress getHostAddress(URL u); 77 78 81 public int hashCode(URL u); 82 83 86 public boolean hostsEqual(URL u1, URL u2); 87 88 91 public boolean sameFile(URL u1, URL u2); 92 } 93 | Popular Tags |