Cloneable
, LogParser
, TestCloneable
OrderPreservingLogParser
public class SharedTCLogParser extends TCLogParser implements TestCloneable
Constructor | Description |
---|---|
SharedTCLogParser() |
|
SharedTCLogParser(String source) |
Modifier and Type | Method | Description |
---|---|---|
Object |
clone() |
|
void |
close() |
close the any streams or readers.
|
protected int |
parse(FileServer breader,
TestElement el,
int parseCount) |
The method is responsible for reading each line, and breaking out of the
while loop if a set number of lines is given.
|
int |
parse(TestElement el,
int parseCount) |
parse the entire file.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkMethod, checkParamFormat, checkURL, cleanURL, convertStringToJMRequest, convertStringtoNVPair, decodeParameterValue, parse, parseAndConfigure, parseLine, parseOneParameter, parseParameters, setDecodeParameterValues, setFilter, setSourceFile, setUseParsedFile, stripFile, tokenize
public SharedTCLogParser()
public SharedTCLogParser(String source)
public Object clone()
clone
in interface TestCloneable
clone
in class Object
public int parse(TestElement el, int parseCount)
parse
in class TCLogParser
el
- TestElement to read the lines intoparseCount
- number of max lines to read-1
if an error occurred while readingprotected int parse(FileServer breader, TestElement el, int parseCount)
breader
- reader to read lines fromel
- TestElement
in which to add the parsed linesparseCount
- max number of lines to parsepublic void close()
close
in interface LogParser
close
in class TCLogParser
Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.