org.codehaus.plexus.util.cli

Class StreamFeeder

public class StreamFeeder extends Thread

Read from an InputStream and write the output to an OutputStream.

Version: $Id: StreamFeeder.java 8695 2010-04-20 18:37:36Z bentmann $

Author: Trygve Laugstøl

Constructor Summary
StreamFeeder(InputStream input, OutputStream output)
Create a new StreamFeeder
Method Summary
voidclose()
booleanisDone()
voidrun()

Constructor Detail

StreamFeeder

public StreamFeeder(InputStream input, OutputStream output)
Create a new StreamFeeder

Parameters: input Stream to read from output Stream to write to

Method Detail

close

public void close()

isDone

public boolean isDone()

run

public void run()
Copyright © 2001-2010 Codehaus. All Rights Reserved.