in src/main/java/org/apache/sling/bundleresource/impl/BundleResource.java [291:306]
private InputStream getInputStream() {
// implement this for files only
if (isFile()) {
try {
URL url = getURL();
if (url != null) {
return url.openStream();
}
} catch (IOException ioe) {
log.error("getInputStream: Cannot get input stream for " + this, ioe);
}
}
// otherwise there is no stream
return null;
}