|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CaptureMetaFormat
Interface that specifies how to retrieve META information from a capture session.
No matter what is the underlaying method for getting packet information (stream or file),
META information about the source can be retrieve via this interface if data is available.
You can use isMetaDataAvaliable() methods to check if META data is available.
Use getMetaEnumeration() method to retrieve a enumeration of META variables in the order/sequence
they were retrieved from the capture stream. Some of this META information may retrieved using
some native PacketInputStream methods such as getPacketLength() and getTimestamp(). Retrieving
the same variables as META data will return raw, unformatted variables. (i.e. some variables are
normalized such as timestamps and record lengths, but not if returned via this interface.)
| Method Summary | |
|---|---|
java.lang.String |
getCaptureFormatName()
Returns the String name of the capture format of the source. |
java.util.Enumeration |
getMetaEnumeration()
This method allows new reader to synchronize the order of META variables. |
boolean |
isMetaDataSupported()
Return true if META data about the source is supported. |
| Method Detail |
|---|
boolean isMetaDataSupported()
java.util.Enumeration getMetaEnumeration()
java.lang.String getCaptureFormatName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||