Class SharedTCLogParser

    • Constructor Detail

      • SharedTCLogParser

        public SharedTCLogParser()
      • SharedTCLogParser

        public SharedTCLogParser​(String source)
    • Method Detail

      • parse

        public int parse​(TestElement el,
                         int parseCount)
        parse the entire file.
        Overrides:
        parse in class TCLogParser
        Parameters:
        el - TestElement to read the lines into
        parseCount - number of max lines to read
        Returns:
        number of read lines, or -1 if an error occurred while reading
      • parse

        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.
        Parameters:
        breader - reader to read lines from
        el - TestElement in which to add the parsed lines
        parseCount - max number of lines to parse
        Returns:
        number of read lines