Class PerlOutputCollector
java.lang.Object
org.fife.rsta.ac.OutputCollector
org.fife.rsta.ac.perl.PerlOutputCollector
- All Implemented Interfaces:
Runnable
Listens to stderr from Perl to determine syntax errors in code.
- Version:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Patternprivate PerlParserprivate org.fife.ui.rsyntaxtextarea.parser.DefaultParseResultprivate Element -
Constructor Summary
ConstructorsConstructorDescriptionPerlOutputCollector(InputStream in, PerlParser parser, org.fife.ui.rsyntaxtextarea.parser.DefaultParseResult result, Element root) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidhandleLineRead(String line) Called every time a line is read from the stream.Methods inherited from class OutputCollector
getOutput, run
-
Field Details
-
parser
-
result
private org.fife.ui.rsyntaxtextarea.parser.DefaultParseResult result -
root
-
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
Description copied from class:OutputCollectorCalled 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:
handleLineReadin classOutputCollector- Parameters:
line- The line read.
-