public InputStream getInputStream() throws IOException { return Platform.getBuiltinInputStream(); }
}
+ /** the Builtin resource */
+ public static class FromInputStream extends Stream {
+ private final InputStream is;
+ public FromInputStream(InputStream is) { this.is = is; }
+ public String getCacheKey() throws NotCacheableException { throw new NotCacheableException(); }
+ public InputStream getInputStream() throws IOException { return is; }
+ }
+
/** shadow resource which replaces the graft */
public static class ProgressWatcher extends Stream {
final Stream watchee;