Class ClassBinaryScanner.InputStreamResource

java.lang.Object
aQute.bnd.osgi.AbstractResource
com.atlassian.plugin.osgi.util.ClassBinaryScanner.InputStreamResource
All Implemented Interfaces:
aQute.bnd.osgi.Resource, Closeable, AutoCloseable
Enclosing class:
ClassBinaryScanner

public static class ClassBinaryScanner.InputStreamResource extends aQute.bnd.osgi.AbstractResource implements Closeable
InputStream-based resource for class scanning purpose (in the format required by bndlib).
Since:
2.10
  • Constructor Details

    • InputStreamResource

      public InputStreamResource(InputStream inputStream)
  • Method Details

    • getBytes

      protected byte[] getBytes() throws Exception
      Specified by:
      getBytes in class aQute.bnd.osgi.AbstractResource
      Throws:
      Exception
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Overrides:
      close in class aQute.bnd.osgi.AbstractResource
      Throws:
      IOException