+ /** cache of subresources so that the equality operator works on them */
+ private Hash refCache = null;
+
+ public Template t = null;
+
+ public Res getParent() { return null; }
+
+ /** returns an InputStream containing the Resource's contents */
+ public InputStream getInputStream() throws IOException { return getInputStream(""); }
+ public abstract InputStream getInputStream(String path) throws IOException;
+
+ /** graft newResource in place of this resource on its parent */