Interface RequestFactoryJarExtractor.Loader
- All Known Implementing Classes:
RequestFactoryJarExtractor.ClassLoaderLoader
- Enclosing class:
RequestFactoryJarExtractor
public static interface RequestFactoryJarExtractor.Loader
Abstracts the mechanism by which class files are loaded.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if the specified resource can be loaded.getResourceAsStream
(String resource) Returns an InputStream to access the specified resource, ornull
if no such resource exists.
-
Method Details
-
exists
Returns true if the specified resource can be loaded.- Parameters:
resource
- a resource name (e.g.com/example/Foo.class
)
-
getResourceAsStream
Returns an InputStream to access the specified resource, ornull
if no such resource exists.- Parameters:
resource
- a resource name (e.g.com/example/Foo.class
)
-