public interface TapConsumer
Modifier and Type | Method and Description |
---|---|
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(Readable tapStream)
Parses a TAP Stream.
|
TestSet |
load(String tapStream)
Parses a TAP Stream.
|
TestSet load(File file)
TapConsumer
was constructed
with an assumed character set encoding, and file
really
is encoded in that assumed encoding.
For a more flexible approach, the caller (who should know best about the
encoding of any given input file) should have already
wrapped the file in an InputStreamReader
, and should pass that to
load(Readable)
.file
- TAP File.TapConsumerException
- error readingTestSet load(Readable tapStream)
tapStream
- TAP StreamTapConsumerException
- error readingTestSet load(String tapStream)
tapStream
- TAP StreamTapConsumerException
- error readingTestSet getTestSet()
Parser getParser()
Copyright © 2010–2019 TupiLabs. All rights reserved.