|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
| 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 occurs
void write(byte[] ab)
throws IOException
ab.
ab - the byte array to write
IOException - if an I/O error occurs
NullPointerException - 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 write
IOException - if an I/O error occurs
NullPointerException - 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 occurs
void close()
throws IOException
IOException - if an I/O error occurs
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||