ProtocolLearner
Class AppDataParser

java.lang.Object
  extended by ProtocolLearner.AppDataParser

public class AppDataParser
extends java.lang.Object


Constructor Summary
AppDataParser()
           
 
Method Summary
 java.util.ArrayList<MessageTrace> getMsgTraces(java.lang.String traffic)
          This function parses the traffic string (from the traffic text ares) and returns an array list of messages traces to be used for FSM construction
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppDataParser

public AppDataParser()
Method Detail

getMsgTraces

public java.util.ArrayList<MessageTrace> getMsgTraces(java.lang.String traffic)
This function parses the traffic string (from the traffic text ares) and returns an array list of messages traces to be used for FSM construction

Parameters:
traffic - A plain-Text traffic string in the following format: ...InputMessage... ... ...OuputMessage... ... And so on. Any combination of input/output messages ... Another trace Note that currently if an input or output message does not have valid xml tags or there is a mismatching in the tags, this message will be ignored, no error generated with all other messages added to the msgs of the trace.
Returns:
An array list of message traces