jnetpcap.capture.file
Interface MutableBlockRecord

All Superinterfaces:
BlockRecord, Record

public interface MutableBlockRecord
extends BlockRecord

Extends the immutable BlockRecord interface and adds methods for adding, removing, moving and seeking file records.

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Nested Class Summary
 
Nested classes/interfaces inherited from interface jnetpcap.capture.file.Record
Record.Capability, Record.RecordType
 
Method Summary
<E extends DataRecord>
MutableRecordIterator<E>
getRecords(java.lang.Class<E> c)
           
 
Methods inherited from interface jnetpcap.capture.file.BlockRecord
getByteOrder, getMagicPattern, getPacketCount, getPacketCount, getVersion, setVersion, setVersion
 
Methods inherited from interface jnetpcap.capture.file.Record
getCaptureFile, getFilePosition, getHeaderBuffer, getHeaderLength, getRecordLength, getRecordType, isModified, isWritten, read, readHeader, setFilePosition, setModified, setWritten, validateRecord, write, writeHeader
 

Method Detail

getRecords

<E extends DataRecord> MutableRecordIterator<E> getRecords(java.lang.Class<E> c)
                                                       throws java.io.IOException,
                                                              CaptureFormatException
Specified by:
getRecords in interface BlockRecord
Throws:
java.io.IOException
CaptureFormatException