org.jnetstream.capture.file.nap
Interface NapFile
- All Superinterfaces:
- Capture<NAPPacket>, java.io.Closeable, FileCapture<NAPPacket>, java.io.Flushable, java.lang.Iterable<NAPPacket>
public interface NapFile
- extends FileCapture<NAPPacket>
NAP capture file format from Sly Technologies folks.
- Author:
- Mark Bednarczyk, Sly Technologies, Inc.
| Methods inherited from interface org.jnetstream.capture.FileCapture |
abortChanges, flush, getFastIterator, getFile, getFormatType, getLength, getPacketCount, getPacketCount, getPacketIndexer, getPacketIterator, getRawIndexer, getRawIterator, getRawIterator, getRecordIndexer, getRecordIterator, getRecordIterator, getVersion, isEmpty, isOpen, order |
BLOCKING_FACTOR
static final long BLOCKING_FACTOR
- See Also:
- Constant Field Values
HDR_RECORD_LENGTH
static final int HDR_RECORD_LENGTH
- See Also:
- Constant Field Values
HDR_TYPE
static final int HDR_TYPE
- See Also:
- Constant Field Values
getBlockIterator
NAPBlockRecordIterator getBlockIterator()
throws java.io.IOException
- Retrieves iterator over all Block Records within this NAP file. NAP files
may contain any number of block records (file headers). Each block record
contains any number of data records (packet, meta, no-op records)
- Specified by:
getBlockIterator in interface FileCapture<NAPPacket>
- Returns:
-
- Throws:
java.io.IOException