Interface RequestFactoryJarExtractor.Loader
-
- All Known Implementing Classes:
RequestFactoryJarExtractor.ClassLoaderLoader
- Enclosing class:
- RequestFactoryJarExtractor
public static interface RequestFactoryJarExtractor.LoaderAbstracts the mechanism by which class files are loaded.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanexists(java.lang.String resource)Returns true if the specified resource can be loaded.java.io.InputStreamgetResourceAsStream(java.lang.String resource)Returns an InputStream to access the specified resource, ornullif no such resource exists.
-
-
-
Method Detail
-
exists
boolean exists(java.lang.String resource)
Returns true if the specified resource can be loaded.- Parameters:
resource- a resource name (e.g.com/example/Foo.class)
-
getResourceAsStream
java.io.InputStream getResourceAsStream(java.lang.String resource)
Returns an InputStream to access the specified resource, ornullif no such resource exists.- Parameters:
resource- a resource name (e.g.com/example/Foo.class)
-
-