|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OutputStreaming
This is the interface represented by the Java OutputStream class.
Method Summary | |
---|---|
void |
close() Closes this OutputStream and releases any associated system resources. |
void |
flush() Flushes this OutputStream and forces any buffered output bytes to be written. |
void |
write(byte[] ab) Writes all the bytes in the array ab . |
void |
write(byte[] ab, int of, int cb) Writes cb bytes starting at offset of from the array ab . |
void |
write(int b) Writes the eight low-order bits of the argument b . |
Method Detail |
---|
void write(int b) throws java.io.IOException
b
. The 24 high-order bits of b
are ignored.b
- the byte to write (passed as an integer)java.io.IOException
- if an I/O error occursvoid write(byte[] ab) throws java.io.IOException
ab
.ab
- the byte array to writejava.io.IOException
- if an I/O error occursjava.lang.NullPointerException
- if ab
is null
void write(byte[] ab, int of, int cb) throws java.io.IOException
cb
bytes starting at offset of
from the array ab
.ab
- the byte array to write fromof
- the offset into ab
to start writing fromcb
- the number of bytes from ab
to writejava.io.IOException
- if an I/O error occursjava.lang.NullPointerException
- if ab
is null
java.lang.IndexOutOfBoundsException
- if of
is negative, or cb
is negative, or of+cb
is greater than ab.length
void flush() throws java.io.IOException
java.io.IOException
- if an I/O error occursvoid close() throws java.io.IOException
java.io.IOException
- if an I/O error occurs
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |