public static class RequestFactoryJarExtractor.ClassLoaderLoader extends java.lang.Object implements RequestFactoryJarExtractor.Loader
RequestFactoryJarExtractor.Loader
that uses a ClassLoader
to
retrieve the class files.Constructor and Description |
---|
ClassLoaderLoader(java.lang.ClassLoader loader) |
Modifier and Type | Method and Description |
---|---|
boolean |
exists(java.lang.String resource)
Returns true if the specified resource can be loaded.
|
java.io.InputStream |
getResourceAsStream(java.lang.String resource)
Returns an InputStream to access the specified resource, or
null if no such resource exists. |
public boolean exists(java.lang.String resource)
RequestFactoryJarExtractor.Loader
exists
in interface RequestFactoryJarExtractor.Loader
resource
- a resource name (e.g. com/example/Foo.class
)public java.io.InputStream getResourceAsStream(java.lang.String resource)
RequestFactoryJarExtractor.Loader
null
if no such resource exists.getResourceAsStream
in interface RequestFactoryJarExtractor.Loader
resource
- a resource name (e.g. com/example/Foo.class
)