31 |
* <code>getBlock()</code> and <code>getBlockId</code> methods. |
* <code>getBlock()</code> and <code>getBlockId</code> methods. |
32 |
*/ |
*/ |
33 |
public abstract class BlockOutputStream extends FilterOutputStream { |
public abstract class BlockOutputStream extends FilterOutputStream { |
34 |
protected BlockOutputStream(OutputStream out, Header822 header) { |
protected BlockOutputStream(OutputStream out) { |
35 |
super(out); |
super(out); |
36 |
} |
} |
37 |
|
|
41 |
* retrieved from this stream through the <code>getBlock()</code> |
* retrieved from this stream through the <code>getBlock()</code> |
42 |
* and <code>getBlockId()</code> methods. |
* and <code>getBlockId()</code> methods. |
43 |
*/ |
*/ |
44 |
public abstract void close() throws IOException; |
public void close() throws IOException { super.close(); }; |
45 |
|
|
46 |
/** Get the <code>Block</code> created by this stream. |
/** Get the <code>Block</code> created by this stream. |
47 |
* This may only be called after the stream has been closed. |
* This may only be called after the stream has been closed. |