net.metanotion.util
Class ReaderPump
java.lang.Object
net.metanotion.util.ReaderPump
public final class ReaderPump
- extends java.lang.Object
|
Constructor Summary |
ReaderPump(java.io.Reader in,
java.io.Writer out)
|
ReaderPump(java.io.Reader in,
java.io.Writer out,
int blockSize)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReaderPump
public ReaderPump(java.io.Reader in,
java.io.Writer out)
ReaderPump
public ReaderPump(java.io.Reader in,
java.io.Writer out,
int blockSize)
pumpAll
public void pumpAll()
throws java.io.IOException
- Throws:
java.io.IOException
pumpUntilBlocked
public void pumpUntilBlocked()
throws java.io.IOException
- Throws:
java.io.IOException
pumpBytes
public int pumpBytes(int n)
throws java.io.IOException
- Throws:
java.io.IOException
pumpBytesUntilBlocked
public int pumpBytesUntilBlocked(int n)
throws java.io.IOException
- Throws:
java.io.IOException