public class SlowOutputStream extends FilterOutputStream
out| Constructor and Description |
|---|
SlowOutputStream(OutputStream out,
int cps)
Create wrapped Output Stream toe emulate the requested CPS.
|
public SlowOutputStream(OutputStream out, int cps)
out - OutputStreamcps - characters per secondpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class FilterOutputStreamIOExceptionCopyright © 1998-2016 Apache Software Foundation. All Rights Reserved.