|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An interface for buffering sequences of blocks and then retrieving the sequence as a single aggregate block.
| Method Summary | |
void |
appendBlock(java.lang.Object block)
Appends the specified block to the buffer. |
int |
size()
Returns a count of the number of blocks that have been appended to the buffer. |
java.lang.Object |
toBlock()
Returns a single block containing all the data appended to the buffer. |
| Method Detail |
public void appendBlock(java.lang.Object block)
throws OutOfMemoryException
block - The block to append.
OutOfMemoryException - if there is not enough memory
to retrieve the block.
public java.lang.Object toBlock()
throws OutOfMemoryException
null is
returned.
OutOfMemoryException - if there is not enough memory
to retrieve the block.public int size()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||