|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
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 IOException
b
. The 24 high-order bits of b
are ignored.b
- the byte to write (passed as an integer)IOException
- if an I/O error occursvoid write(byte[] ab) throws IOException
ab
.ab
- the byte array to writeIOException
- if an I/O error occursNullPointerException
- if ab
is null
void write(byte[] ab, int of, int cb) throws 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 writeIOException
- if an I/O error occursNullPointerException
- if ab
is null
IndexOutOfBoundsException
- if of
is negative, or cb
is negative, or of+cb
is greater than ab.length
void flush() throws IOException
IOException
- if an I/O error occursvoid close() throws IOException
IOException
- if an I/O error occurs
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |