org.wiperdog.rshell.api
Class StreamInputProcessor

java.lang.Object
  extended by org.wiperdog.rshell.api.StreamInputProcessor
All Implemented Interfaces:
Runnable

public class StreamInputProcessor
extends Object
implements Runnable


Constructor Summary
StreamInputProcessor(InputStream is, File tmpfile, int maxsize)
           
StreamInputProcessor(InputStream is, File tmpfile, int maxsize, Charset cs)
           
 
Method Summary
 void clear()
           
 void run()
           
static StreamInputProcessor start(InputStream is, String tmpfilepath, int maxsize)
           
 void stop()
           
 void writeTo(Writer to)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamInputProcessor

public StreamInputProcessor(InputStream is,
                            File tmpfile,
                            int maxsize)

StreamInputProcessor

public StreamInputProcessor(InputStream is,
                            File tmpfile,
                            int maxsize,
                            Charset cs)
Method Detail

run

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

stop

public void stop()

clear

public void clear()

writeTo

public void writeTo(Writer to)

start

public static StreamInputProcessor start(InputStream is,
                                         String tmpfilepath,
                                         int maxsize)


Copyright © 2013. All Rights Reserved.