|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BlockRecord
A block record also sometimes refered to a file header in a capture file which uniquely identifies the file as certain type with a magic pattern or magic number. Block record contains, as children, one or more data records which usually contain packet data.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jnetstream.capture.file.Record |
|---|
Record.RecordHeaderField |
| Method Summary | |
|---|---|
byte[] |
getMagicPattern()
Returns the Magic number or pattern that is used to uniquely identify the file type of the capture file. |
com.slytechs.utils.number.Version |
getVersion()
Returns the first file version found. |
java.nio.ByteOrder |
order()
Gets the byte-order encoding for integers of fields within the record header. |
void |
setMajorVersion(long major)
Sets the version numbers for the file format. |
| Methods inherited from interface org.jnetstream.capture.file.Record |
|---|
asType, edit, getFileCapture, getPositionGlobal, getRecordBuffer, getRecordHeaderBuffer, getRecordHeaderLength, getRecordLength, getRecordType |
| Methods inherited from interface com.slytechs.utils.collection.Validatable |
|---|
isValid |
| Method Detail |
|---|
java.nio.ByteOrder order()
com.slytechs.utils.number.Version getVersion()
throws java.io.IOException
java.io.IOException
void setMajorVersion(long major)
throws java.io.IOException
major - major version of the file format
java.io.IOException
byte[] getMagicPattern()
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||