de.flapdoodle.embedmongo.io
Class StreamToLineProcessor

java.lang.Object
  extended by de.flapdoodle.embedmongo.io.StreamToLineProcessor
All Implemented Interfaces:
IStreamProcessor

public class StreamToLineProcessor
extends Object
implements IStreamProcessor


Constructor Summary
StreamToLineProcessor(IStreamProcessor destination)
           
 
Method Summary
 void onProcessed()
           
 void process(String block)
           
static IStreamProcessor wrap(IStreamProcessor destination)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamToLineProcessor

public StreamToLineProcessor(IStreamProcessor destination)
Method Detail

process

public void process(String block)
Specified by:
process in interface IStreamProcessor

onProcessed

public void onProcessed()
Specified by:
onProcessed in interface IStreamProcessor

wrap

public static IStreamProcessor wrap(IStreamProcessor destination)


Copyright © 2012. All Rights Reserved.