ca.quine.jcommons.transform.transforms
Class StreamParserTransform

java.lang.Object
  |
  +--ca.quine.jcommons.transform.transforms.StreamParserTransform
Direct Known Subclasses:
ParserTransform

public class StreamParserTransform
extends Object


Field Summary
protected  ParserHelper parserHelper
           
protected  String segmentTerminator
           
 
Constructor Summary
StreamParserTransform(ParserHelper parserHelper, String segmentTerminator)
           
 
Method Summary
 void addTransformListener(IParsedLineListener receiver)
           
protected  void notifyComplete()
           
 void transform(FilenameAndStream filenameAndReader)
           
protected  void transform(String filename, char delimiter, BufferedReader br)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parserHelper

protected ParserHelper parserHelper

segmentTerminator

protected String segmentTerminator
Constructor Detail

StreamParserTransform

public StreamParserTransform(ParserHelper parserHelper,
                             String segmentTerminator)
Method Detail

addTransformListener

public void addTransformListener(IParsedLineListener receiver)

transform

public void transform(FilenameAndStream filenameAndReader)
               throws Exception
Exception

transform

protected void transform(String filename,
                         char delimiter,
                         BufferedReader br)
                  throws Exception
Exception

notifyComplete

protected void notifyComplete()
                       throws Exception
Exception