|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface StructuredFileListener
Listener for structural changes of StructuredFiles.
| Method Summary | |
|---|---|
void |
blocksDeleted(long index,
long deletedBlocks)
Gets called whenever blocks were deleted from the StructuredFile
the listener is registered with. |
void |
blocksInserted(long index,
long insertedBlocks)
Gets called whenever blocks were inserted into the StructuredFile
the listener is registered with. |
| Method Detail |
|---|
void blocksDeleted(long index,
long deletedBlocks)
throws IOException
StructuredFile
the listener is registered with. The block previously at
index + deletedBlocks will have moved to index.
index - the index of the first deleted block.deletedBlocks - the number of blocks which were deleted starting
at index inclusive.
IOException - if reading or writing fails.
void blocksInserted(long index,
long insertedBlocks)
throws IOException
StructuredFile
the listener is registered with. The block previously at index
will have moved to index + insertedBlocks.
index - the index of the first inserted block.insertedBlocks - the number of blocks which were inserted at
index.
IOException - if reading or writing fails.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||