|
Oracle® Coherence Java API Reference v3.5 E14977-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 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 occurs
void write(byte[] ab)
throws java.io.IOException
ab.
ab - the byte array to write
java.io.IOException - if an I/O error occurs
java.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 write
java.io.IOException - if an I/O error occurs
java.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 occurs
void close()
throws java.io.IOException
java.io.IOException - if an I/O error occurs
|
Oracle® Coherence Java API Reference v3.5 E14977-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||