Apache JMeter

org.apache.jmeter.monitor.parser
Class ParserImpl

java.lang.Object
  extended by org.apache.jmeter.monitor.parser.ParserImpl
All Implemented Interfaces:
Parser
Direct Known Subclasses:
ObjectFactory.MonitorParser

public abstract class ParserImpl
extends Object
implements Parser


Constructor Summary
ParserImpl(ObjectFactory factory)
           
 
Method Summary
 Status parseBytes(byte[] bytes)
          parse byte array and return Status object
 Status parseSampleResult(SampleResult result)
           
 Status parseString(String content)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserImpl

public ParserImpl(ObjectFactory factory)
Parameters:
factory - ObjectFactory to use
Method Detail

parseBytes

public Status parseBytes(byte[] bytes)
parse byte array and return Status object

Specified by:
parseBytes in interface Parser
Parameters:
bytes - bytes to be parsed
Returns:
Status

parseString

public Status parseString(String content)
Specified by:
parseString in interface Parser
Parameters:
content - text to be parsed
Returns:
Status

parseSampleResult

public Status parseSampleResult(SampleResult result)
Specified by:
parseSampleResult in interface Parser
Parameters:
result - SampleResult out of which the reponseData will be used for parsing
Returns:
Status

Apache JMeter

Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved.