UI.Run
Class GEVAErrorStreamParser

java.lang.Object
  extended by UI.Run.GEVAStreamParser<GEVAErrorStreamParser.Event>
      extended by UI.Run.GEVAErrorStreamParser
All Implemented Interfaces:
GEVAStreamReader.Listener

public class GEVAErrorStreamParser
extends GEVAStreamParser<GEVAErrorStreamParser.Event>

Parse lines from error out

Author:
eliott bartley

Nested Class Summary
static class GEVAErrorStreamParser.Event
          Unique empty type for overloading
 
Nested classes/interfaces inherited from class UI.Run.GEVAStreamParser
GEVAStreamParser.Extension, GEVAStreamParser.Line, GEVAStreamParser.LineEvent, GEVAStreamParser.Listener<E>
 
Field Summary
 
Fields inherited from class UI.Run.GEVAStreamParser
ID_ERR_OUT, ID_STD_OUT
 
Constructor Summary
GEVAErrorStreamParser()
           
 
Method Summary
 void injectLine(java.lang.String text)
          Fake a stream reader event causing all listeners to be notified of the line passed in as if it came from ID_ERR_OUT.
protected  void parseLine(GEVAStreamParser.Line line)
          Parse the line and generate the necessary events by calling fireParserListener.
 
Methods inherited from class UI.Run.GEVAStreamParser
addParserListener, begin, end, fireParserListener, injectLine, removeParserListener, streamListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GEVAErrorStreamParser

public GEVAErrorStreamParser()
Method Detail

injectLine

public void injectLine(java.lang.String text)
Fake a stream reader event causing all listeners to be notified of the line passed in as if it came from ID_ERR_OUT. Overridden to generate ID_ERR_OUT instead of ID_STD_OUT

Overrides:
injectLine in class GEVAStreamParser<GEVAErrorStreamParser.Event>

parseLine

protected void parseLine(GEVAStreamParser.Line line)
Description copied from class: GEVAStreamParser
Parse the line and generate the necessary events by calling fireParserListener. This will not be called for end-of-stream events

Specified by:
parseLine in class GEVAStreamParser<GEVAErrorStreamParser.Event>