| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.tap4j.consumer.TapConsumerImpl
public class TapConsumerImpl
Implementation of a TAP Consumer. It can use different TAP parsers. The parser can change the behaviour of the consumer, as the latter delegates the parsing and TAP model loading to the former.
| Constructor Summary | |
|---|---|
| TapConsumerImpl()Default constructor. | |
| TapConsumerImpl(Parser parser)Constructor with a parser. | |
| 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. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public TapConsumerImpl()
public TapConsumerImpl(Parser parser)
parser - a parser| Method Detail | 
|---|
public TestSet getTestSet()
TapConsumer
getTestSet in interface TapConsumerpublic TestSet load(File file)
TapConsumer
load in interface TapConsumerfile - TAP File.
public TestSet load(String tapStream)
TapConsumer
load in interface TapConsumertapStream - TAP Stream
public Parser getParser()
TapConsumer
getParser in interface TapConsumer| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||