com.infoengine.soap.util.saaj
Class OverFlowOutputStream
java.lang.Object
java.io.OutputStream
com.infoengine.soap.util.saaj.OverFlowOutputStream
- public class OverFlowOutputStream
- extends OutputStream
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INITIAL_BUFFSIZE
private static final int INITIAL_BUFFSIZE
- See Also:
- Constant Field Values
DEFAULT_THRESHOLD
private static final int DEFAULT_THRESHOLD
- See Also:
- Constant Field Values
threshhold
private int threshhold
bytesWritten
private int bytesWritten
sink
private OutputStream sink
overflow
private File overflow
closed
private boolean closed
OverFlowOutputStream
public OverFlowOutputStream()
write
public void write(int b)
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Throws:
IOException
flush
public void flush()
throws IOException
- Throws:
IOException
write
public void write(byte[] b)
throws IOException
- Throws:
IOException
write
public void write(byte[] b,
int off,
int len)
throws IOException
- Throws:
IOException
getContentLength
protected long getContentLength()
startOverflow
private void startOverflow()
throws IOException
- Throws:
IOException
writeTo
void writeTo(OutputStream os)
throws IOException
- Throws:
IOException
cleanup
public void cleanup()