net.sourceforge.taverna.io
Class AbstractStreamProcessor

java.lang.Object
  extended by net.sourceforge.taverna.io.AbstractStreamProcessor
All Implemented Interfaces:
StreamProcessor
Direct Known Subclasses:
FileStreamProcessor, GetStreamProcessor, PostStreamProcessor, ReplaceTextFileProcessor

public abstract class AbstractStreamProcessor
extends java.lang.Object
implements StreamProcessor

This class provides a useful extension point for Stream Processors. Last edited by $Author: sowen70 $

Version:
$Revision: 1.2 $
Author:
Mark

Field Summary
static java.lang.String NEWLINE
           
 
Constructor Summary
AbstractStreamProcessor()
           
 
Method Summary
abstract  java.util.Map processStream(java.io.InputStream stream)
          This method processes a result stream.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NEWLINE

public static final java.lang.String NEWLINE
Constructor Detail

AbstractStreamProcessor

public AbstractStreamProcessor()
Method Detail

processStream

public abstract java.util.Map processStream(java.io.InputStream stream)
                                     throws java.io.IOException
Description copied from interface: StreamProcessor
This method processes a result stream.

Specified by:
processStream in interface StreamProcessor
Throws:
java.io.IOException
See Also:
StreamProcessor.processStream(java.io.InputStream)