|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
hudson.util.ByteBuffer
public class ByteBuffer
ByteArrayOutputStream
re-implementation.
This version allows one to read while writing is in progress.
Constructor Summary | |
---|---|
ByteBuffer()
Deprecated. |
Method Summary | |
---|---|
long |
length()
Deprecated. |
InputStream |
newInputStream()
Deprecated. Creates an InputStream that reads from the underlying buffer. |
String |
toString()
Deprecated. |
void |
write(byte[] b,
int off,
int len)
Deprecated. |
void |
write(int b)
Deprecated. |
void |
writeTo(OutputStream os)
Deprecated. Writes the contents of this buffer to another OutputStream. |
Methods inherited from class java.io.OutputStream |
---|
close, flush, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ByteBuffer()
Method Detail |
---|
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
public void write(int b) throws IOException
write
in class OutputStream
IOException
public long length()
public String toString()
toString
in class Object
public void writeTo(OutputStream os) throws IOException
IOException
public InputStream newInputStream()
InputStream
that reads from the underlying buffer.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |