org.jnetstream.capture.file.pcap
Class PcapDataEncapsulation

java.lang.Object
  extended by org.jnetstream.capture.file.pcap.PcapDataEncapsulation

public class PcapDataEncapsulation
extends java.lang.Object

Pcap file DLT value map. The values are mapped to jNetStream's ProtocolConst enum constants that have jNetStream's definitions for the specified headers.

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Constructor Summary
PcapDataEncapsulation()
           
 
Method Summary
static java.util.Map<java.lang.Integer,org.jnetstream.capture.file.pcap.PcapDataEncapsulation.DataEncapsulation> getMap()
          Returns the mappings between PCAP DLT values and jNetStream ProtocolConst cosntants.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PcapDataEncapsulation

public PcapDataEncapsulation()
Method Detail

getMap

public static java.util.Map<java.lang.Integer,org.jnetstream.capture.file.pcap.PcapDataEncapsulation.DataEncapsulation> getMap()
Returns the mappings between PCAP DLT values and jNetStream ProtocolConst cosntants. The map is immutable and none of the mutable methods will work. The mappings are standard and can not be modified by the user.

Returns:
the map map containing DLT keys to constant values