net.clackrouter.ethereal.parser
Class DefaultParser

java.lang.Object
  extended by net.clackrouter.ethereal.parser.PacketParser
      extended by net.clackrouter.ethereal.parser.DefaultParser

public class DefaultParser
extends PacketParser


Field Summary
 
Fields inherited from class net.clackrouter.ethereal.parser.PacketParser
dataLen, dataStart, hex, typeLen, typeStart
 
Constructor Summary
DefaultParser()
           
 
Method Summary
 java.lang.String getDst(byte[] packet)
           
 java.lang.String getInfo(byte[] packet)
           
 java.lang.String getProtocol(byte[] packet)
           
 java.lang.String getSrc(byte[] packet)
           
 EtherealTreeNode getTree(byte[] packet)
           
 
Methods inherited from class net.clackrouter.ethereal.parser.PacketParser
charFormat, charFormat, decimalFormat, decimalFormat, getTableModel, getType, hexFormat, hexFormat, MACFormat, MACFormat, makeNode, makeNode, makeNode, nextInfo, nextNode, nextProtocol, strip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultParser

public DefaultParser()
Method Detail

getSrc

public java.lang.String getSrc(byte[] packet)
Overrides:
getSrc in class PacketParser

getDst

public java.lang.String getDst(byte[] packet)
Overrides:
getDst in class PacketParser

getProtocol

public java.lang.String getProtocol(byte[] packet)
Specified by:
getProtocol in class PacketParser

getInfo

public java.lang.String getInfo(byte[] packet)
Specified by:
getInfo in class PacketParser

getTree

public EtherealTreeNode getTree(byte[] packet)
Specified by:
getTree in class PacketParser