|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.net.protocol.URLListerFactory
Constructor Summary | |
URLListerFactory()
Create a URLLister with default listers defined for file and http protocols. |
Method Summary | |
URLLister (src) |
createURLLister(java.lang.String protocol)
Create a URL lister for the supplied protocol |
URLLister (src) |
createURLLister(java.net.URL url)
Create a URL lister using the protocol from the URL |
void |
registerListener(java.lang.String protocol,
java.lang.String className)
Register a URLLister class for a given protocol |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public URLListerFactory()
Method Detail |
public URLLister (src) createURLLister(java.net.URL url) throws java.net.MalformedURLException
url
- the url defining the protocol
java.net.MalformedURLException
- if no lister could be found for the protocolpublic URLLister (src) createURLLister(java.lang.String protocol) throws java.net.MalformedURLException
protocol
- the protocol
java.net.MalformedURLException
- if no lister could be found for the protocolpublic void registerListener(java.lang.String protocol, java.lang.String className)
protocol
- the protocol this class will handleclassName
- the URLLister implementation to instanciate
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |