|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.net.URLStreamHandler net.dpml.transit.artifact.Handler
The artifact URL protocol handler.
Constructor Summary | |
Handler()
Creation of a new transit artifact protocol handler. |
Method Summary | |
protected URLConnection |
openConnection(URL url)
Opens a connection to the specified URL. |
protected void |
parseURL(URL dest,
String spec,
int start,
int limit)
Parse the supplied specification. |
protected String |
toExternalForm(URL u)
Return the external representation of the supplied url. |
Methods inherited from class java.net.URLStreamHandler |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, sameFile, setURL, setURL |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Handler()
Method Detail |
protected URLConnection openConnection(URL url) throws IOException
url
- A URL to open a connection to.
IOException
- If a connection failure occurs.protected String toExternalForm(URL u)
u
- the url
protected void parseURL(URL dest, String spec, int start, int limit)
dest
- the destination url to populatespec
- the supplied specstart
- the starting positionlimit
- the limit
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |