1 11 12 package org.eclipse.osgi.framework.internal.protocol; 13 14 import java.net.URL ; 15 16 public class URLStreamHandlerSetter implements org.osgi.service.url.URLStreamHandlerSetter { 17 18 protected URLStreamHandlerProxy handlerProxy; 19 20 public URLStreamHandlerSetter(URLStreamHandlerProxy handler) { 21 this.handlerProxy = handler; 22 } 23 24 28 public void setURL(URL url, String protocol, String host, int port, String file, String ref) { 29 handlerProxy.setURL(url, protocol, host, port, file, ref); 30 } 31 32 35 public void setURL(URL url, String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref) { 36 handlerProxy.setURL(url, protocol, host, port, authority, userInfo, path, query, ref); 37 } 38 39 } 40 | Popular Tags |