|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.voytechs.jnetstream.io.meta.MetaValue
public class MetaValue
META value. META values are capture files header values, such as number of packets in the capture file, various extra information normally not seen when working with PacketInputStream. These extra values that make up the capture file can be extracted using Meta API which this object is appart of.
com.voytechs.jnetstream.PacketInputStream| Constructor Summary | |
|---|---|
MetaValue(Field metaValue)
Will use Field as the source of the value to be returned. |
|
| Method Summary | |
|---|---|
Field |
fieldValue()
Converts the MetaValue to Field, suitable for writting out OutputStream. |
int |
getSize()
Returns the size of the META value in bits. |
static void |
main(java.lang.String[] args)
Test function for MetaValue |
Primitive |
primitiveValue()
The value returned as a primitive. |
java.lang.String |
toString()
Returns String representation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MetaValue(Field metaValue)
Field - to extract Meta value from.
java.lang.IllegalArgumentException - If meta value is 'null'| Method Detail |
|---|
public int getSize()
public Primitive primitiveValue()
public Field fieldValue()
public java.lang.String toString()
toString in class java.lang.Objectpublic static void main(java.lang.String[] args)
args - command line arguments
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||