|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.fikin.net.protocols.classpath.ClasspathStreamHandlerFactory
public class ClasspathStreamHandlerFactory
Classloader protocol handler factory created on Oct 9, 2006
| Field Summary | |
|---|---|
static java.lang.ClassLoader |
primaryClassLoader
primary classloader to use to load the resources |
static java.lang.String |
PROTOCOL
protocol name |
| Constructor Summary | |
|---|---|
ClasspathStreamHandlerFactory()
|
|
| Method Summary | |
|---|---|
java.net.URLStreamHandler |
createURLStreamHandler(java.lang.String protocol)
create a "classpath" Handler if given protocol is "classpath" |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROTOCOL
public static java.lang.ClassLoader primaryClassLoader
by default it is null
by default order of classloaders used by Handler is:
Handler's own classloader
| Constructor Detail |
|---|
public ClasspathStreamHandlerFactory()
| Method Detail |
|---|
public java.net.URLStreamHandler createURLStreamHandler(java.lang.String protocol)
createURLStreamHandler in interface java.net.URLStreamHandlerFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||