/[gzz]/gzz/lava/gzz/storm/util/StormFilerBlock.java
ViewVC logotype

Diff of /gzz/lava/gzz/storm/util/StormFilerBlock.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by benja, Fri Jan 17 23:35:52 2003 UTC revision 1.2 by benja, Sat Jan 18 17:37:25 2003 UTC
# Line 16  public abstract class StormFilerBlock { Line 16  public abstract class StormFilerBlock {
16          this.format = format;          this.format = format;
17      }      }
18    
19        /** Check whether this block matches the given id.
20         */
21        public void checkId(BlockId id) throws IOException, BlockId.WrongIdException {
22            ByteArrayOutputStream out = new ByteArrayOutputStream();
23            writeTo(out);
24            id.check(out.toByteArray());
25        }
26    
27      /** Write the whole block (header and body) to an output stream.      /** Write the whole block (header and body) to an output stream.
28       */       */
29      //public abstract void writeTo(OutputStream out);      public abstract void writeTo(OutputStream out) throws IOException;
30  }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26