Class PerlOutputCollector

java.lang.Object
org.fife.rsta.ac.OutputCollector
org.fife.rsta.ac.perl.PerlOutputCollector
All Implemented Interfaces:
Runnable

class PerlOutputCollector extends OutputCollector
Listens to stderr from Perl to determine syntax errors in code.
Version:
1.0
  • Field Details

    • parser

      private PerlParser parser
    • result

      private org.fife.ui.rsyntaxtextarea.parser.DefaultParseResult result
    • root

      private Element root
    • ERROR_PATTERN

      private static final Pattern ERROR_PATTERN
  • Constructor Details

    • PerlOutputCollector

      PerlOutputCollector(InputStream in, PerlParser parser, org.fife.ui.rsyntaxtextarea.parser.DefaultParseResult result, Element root)
      Constructor.
      Parameters:
      in - The input stream.
  • Method Details

    • handleLineRead

      protected void handleLineRead(String line)
      Description copied from class: OutputCollector
      Called every time a line is read from the stream. This allows subclasses to handle lines differently. They can also call into the super implementation if they want to log the lines into the buffer.
      Overrides:
      handleLineRead in class OutputCollector
      Parameters:
      line - The line read.