com.mindbright.util
Class ExpectOutputStream
java.lang.Object
java.io.OutputStream
com.mindbright.util.ExpectOutputStream
- public final class ExpectOutputStream
- extends java.io.OutputStream
Method Summary |
void |
close()
|
void |
expect(byte[] boundary)
|
void |
expect(java.lang.String boundary)
|
void |
write(byte[] b,
int off,
int len)
|
void |
write(int b)
|
Methods inherited from class java.io.OutputStream |
flush, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpectOutputStream
public ExpectOutputStream(ExpectOutputStream.Expector expector)
ExpectOutputStream
public ExpectOutputStream(ExpectOutputStream.Expector expector,
java.lang.String boundary)
ExpectOutputStream
public ExpectOutputStream(ExpectOutputStream.Expector expector,
byte[] buf,
int off,
int len)
expect
public void expect(java.lang.String boundary)
expect
public void expect(byte[] boundary)
write
public void write(int b)
write
public void write(byte[] b,
int off,
int len)
close
public void close()