1 26 27 package org.objectweb.jonas_lib.loader.factory; 28 29 import java.net.URL ; 30 import java.io.IOException ; 31 32 42 public class DirURLFactory extends URLFactory { 43 44 45 private URL base; 46 47 52 public DirURLFactory(URL url) { 53 base = url; 54 } 55 56 65 public URL getURL(String path) throws IOException { 66 return new URL (base + path); 67 } 68 69 } 70 | Popular Tags |