org.tap4j.consumer
Interface TapConsumer

Package class diagram package TapConsumer
All Known Implementing Classes:
TapConsumerImpl

public interface TapConsumer

TAP Consumer is the responsible for generating the TAP Stream.

Since:
1.0

Method Summary
 Parser getParser()
          Returns the Parser used in the Consumer.
 TestSet getTestSet()
          Returns the TestSet resulted from parsing a TAP File or TAP Stream.
 TestSet load(File file)
          Parses a TAP File.
 TestSet load(String tapStream)
          Parses a TAP Stream.
 

Method Detail

load

TestSet load(File file)
Parses a TAP File.

Parameters:
file - TAP File.
Returns:
TestSet
Throws:
TapConsumerException

load

TestSet load(String tapStream)
Parses a TAP Stream.

Parameters:
tapStream - TAP Stream
Returns:
TestSet
Throws:
TapConsumerException

getTestSet

TestSet getTestSet()
Returns the TestSet resulted from parsing a TAP File or TAP Stream.

Returns:
TestSet

getParser

Parser getParser()
Returns the Parser used in the Consumer.

Returns:
Parser


Copyright © 2010-2012 TupiLabs. All Rights Reserved.