code: @Override
      public InputStream getInputStream() throws IOException {
          try {
              InputStream result = entry.adapt(InputStream.class);
              if (result == null) {
                  throw new IOException("The entry did not supply an input stream: " + entry);
              }
              return result;
          } catch (UnableToAdaptException e) {
              throw new IOException("Unable to get input stream for entry: " + entry.getPath() + '/' + entry.getName(), e);
          }
      }
docs: /*
  (non-Javadoc)
  
  @see org.eclipse.osgi.baseadaptor.bundlefile.BundleEntry#getInputStream()