Class SinglelineDetector

    • Method Detail

      • processLines

        public void processLines​(FileText fileText)
        Processes a set of lines looking for matches.
        fileText - FileText object contains the lines to process.
      • finish

        private void finish()
        Perform processing at the end of a set of lines.
      • resetState

        private void resetState()
        Reset the state of the detector.
      • checkLine

        private void checkLine​(int lineNo,
                               String line,
                               Matcher matcher,
                               int startPosition)
        Check a line for matches.
        lineNo - the line number of the line to check
        line - the line to check
        matcher - the matcher to use
        startPosition - the position to start searching from.