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 Type
    Method
    Description
    boolean
    exists(String resource)
    Returns true if the specified resource can be loaded.
    Returns an InputStream to access the specified resource, or null if no such resource exists.
  • Method Details

    • exists

      boolean exists(String resource)
      Returns true if the specified resource can be loaded.
      Parameters:
      resource - a resource name (e.g. com/example/Foo.class)
    • getResourceAsStream

      InputStream getResourceAsStream(String resource)
      Returns an InputStream to access the specified resource, or null if no such resource exists.
      Parameters:
      resource - a resource name (e.g. com/example/Foo.class)