20 |
protected Header822 header; |
protected Header822 header; |
21 |
protected Block block; |
protected Block block; |
22 |
|
|
23 |
protected AbstractBlockOutputStream(OutputStream os, Header822 header) { |
/** Create a new AbstractBlockOutputStream object |
24 |
|
* and write the given header to it. |
25 |
|
*/ |
26 |
|
protected AbstractBlockOutputStream(OutputStream os, Header822 header) |
27 |
|
throws IOException { |
28 |
super(os); |
super(os); |
29 |
this.header = header; |
this.header = header; |
30 |
|
|
31 |
|
header.writeTo(this); |
32 |
} |
} |
33 |
|
|
34 |
public Block getBlock() { return block; } |
public Block getBlock() { return block; } |