org.mmbase.util.transformers
Class ByteTransformerLink

java.lang.Object
  extended by org.mmbase.util.transformers.ByteTransformerLink
All Implemented Interfaces:
Runnable

public class ByteTransformerLink
extends Object
implements Runnable

A Runnable implementation to perform a ByteTransformation between an InputStream and an OutputStream. This is used in TransformingOutputStream because those need a thread for each step of the transformation.

Since:
MMBase-1.9.2
Version:
$Id: ByteTransformerLink.java 41057 2010-02-16 00:12:33Z michiel $
Author:
Michiel Meeuwissen

Constructor Summary
ByteTransformerLink(ByteTransformer t, InputStream i, OutputStream o, boolean co)
           
 
Method Summary
 Throwable getException()
          If some exception occured, durint run(), then it can be found here.
 boolean ready()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteTransformerLink

public ByteTransformerLink(ByteTransformer t,
                           InputStream i,
                           OutputStream o,
                           boolean co)
Method Detail

run

public void run()
Specified by:
run in interface Runnable

ready

public boolean ready()

getException

public Throwable getException()
If some exception occured, durint run(), then it can be found here.



MMBase 2.0-SNAPSHOT - null