org.codehaus.plexus.util.cli
Class StreamPumper
java.lang.Object
java.lang.Thread
org.codehaus.plexus.util.cli.StreamPumper
- All Implemented Interfaces:
- Runnable
- public class StreamPumper
- extends Thread
Class to pump the error stream during Process's runtime. Copied from the Ant
built-in task.
- Since:
- June 11, 2001
- Version:
- $Id: StreamPumper.java 8010 2009-01-07 12:59:50Z vsiveton $
- Author:
- Florin Vancea , Paul Julius
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
StreamPumper
public StreamPumper(InputStream in)
StreamPumper
public StreamPumper(InputStream in,
StreamConsumer consumer)
StreamPumper
public StreamPumper(InputStream in,
PrintWriter writer)
StreamPumper
public StreamPumper(InputStream in,
PrintWriter writer,
StreamConsumer consumer)
run
public void run()
flush
public void flush()
close
public void close()
isDone
public boolean isDone()
Copyright © 2001-2009 Codehaus. All Rights Reserved.