/[storm]/storm/org/nongnu/storm/BlockOutputStream.java
ViewVC logotype

Diff of /storm/org/nongnu/storm/BlockOutputStream.java

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

revision 1.3 by benja, Mon Apr 7 19:35:58 2003 UTC revision 1.4 by benja, Mon Apr 21 21:07:41 2003 UTC
# Line 100  public abstract class BlockOutputStream Line 100  public abstract class BlockOutputStream
100    
101      /** Get the <code>Block</code> created by this stream.      /** Get the <code>Block</code> created by this stream.
102       *  This may only be called after the stream has been closed.       *  This may only be called after the stream has been closed.
103         *  @throws IllegalStateException if the stream isn't closed yet.
104       */       */
105      abstract public Block getBlock() throws IOException;      abstract public Block getBlock() throws IOException, IllegalStateException;
106    
107      /** Get the id of the block created by this stream.      /** Get the id of the block created by this stream.
108       *  This may only be called after the stream has been closed.       *  This may only be called after the stream has been closed.
109         *  @throws IllegalStateException if the stream isn't closed yet.
110       */       */
111      public BlockId getBlockId() throws IOException {      public BlockId getBlockId() throws IOException, IllegalStateException {
112          return getBlock().getId();          return getBlock().getId();
113      }      }
114  }  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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