|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IBlock
An object that may be used to read or write a block from a store. In general, an instance of this interface either supports read or write but not both.
| Method Summary | |
|---|---|
long |
getAddress()
The address of the block on the store. |
InputStream |
inputStream()
The source from which the block's data may be read. |
int |
length()
The length of the block. |
| Method Detail |
|---|
long getAddress()
int length()
InputStream inputStream()
Note: It is important to close() this input stream.
UnsupportedOperationException - if read is not supported.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||