| |
|
| java.lang.Object org.objectweb.jonas_lib.loader.factory.URLFactory org.objectweb.jonas_lib.loader.factory.DirURLFactory
DirURLFactory | public class DirURLFactory extends URLFactory (Code) | | A DirURLFactory is used to create URLs
from an URL (pointing to a directory) and paths.
Example :
base : file:/path/
path : META-INF/directory/
results : file:/path/META-INF/directory/
author: Guillaume Sauthier |
Constructor Summary | |
public | DirURLFactory(URL url) Create a new DirURLFactory using the specified base URL.
Parameters: url - the base url. |
Method Summary | |
public URL | getURL(String path) Returns a new URL basically adding path to the base URL.
Parameters: path - the path to add to the URL. |
DirURLFactory | public DirURLFactory(URL url)(Code) | | Create a new DirURLFactory using the specified base URL.
Parameters: url - the base url. (must be a directory) |
getURL | public URL getURL(String path) throws IOException(Code) | | Returns a new URL basically adding path to the base URL.
Parameters: path - the path to add to the URL. (must not start with "/") a new URL of the form . throws: IOException - when created URL is invalid. |
|
|
|