|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
com.caucho.vfs.OutputStreamWithBuffer
public abstract class OutputStreamWithBuffer
An OutputStream with an accessible buffer.
Constructor Summary | |
---|---|
OutputStreamWithBuffer()
|
Method Summary | |
---|---|
abstract byte[] |
getBuffer()
Returns the stream's buffer. |
abstract int |
getBufferOffset()
Returns the stream's buffer offset. |
abstract boolean |
isClosed()
|
abstract byte[] |
nextBuffer(int offset)
Returns the next buffer. |
abstract void |
setBufferOffset(int offset)
Sets the stream's buffer length. |
Methods inherited from class java.io.OutputStream |
---|
close, flush, write, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.caucho.util.ByteAppendable |
---|
write, write |
Constructor Detail |
---|
public OutputStreamWithBuffer()
Method Detail |
---|
public abstract byte[] getBuffer() throws java.io.IOException
java.io.IOException
public abstract int getBufferOffset() throws java.io.IOException
java.io.IOException
public abstract void setBufferOffset(int offset) throws java.io.IOException
java.io.IOException
public abstract byte[] nextBuffer(int offset) throws java.io.IOException
length
- the length of the completed buffer
java.io.IOException
public abstract boolean isClosed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |