|
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 | |||||||
java.lang.Object
java.io.OutputStream
com.tangosol.util.NullImplementation.NullOutputStream
public static class NullImplementation.NullOutputStream
An OutputStream that does basically nothing. Note that multiple instances are required because the API dictates that the close method must cause further invocations to all other methods to throw an IOException.
| 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. |
int |
size() |
void |
write(byte[] b)Writes all the bytes in the array ab. |
void |
write(byte[] b, int off, int len)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. |
void |
writeBoolean(boolean v) |
void |
writeByte(int v) |
void |
writeBytes(String s) |
void |
writeChar(int v) |
void |
writeChars(String s) |
void |
writeDouble(double v) |
void |
writeFloat(float v) |
void |
writeInt(int v) |
void |
writeLong(long v) |
void |
writeShort(int v) |
void |
writeUTF(String s) |
| Method Detail |
|---|
public void write(int b)
throws IOException
OutputStreamingb. The 24 high-order bits of b are ignored.write in interface OutputStreamingwrite in interface DataOutputwrite in class OutputStreamb - the byte to write (passed as an integer)IOException - if an I/O error occurs
public void write(byte[] b)
throws IOException
OutputStreamingab.write in interface OutputStreamingwrite in interface DataOutputwrite in class OutputStreamb - the byte array to writeIOException - if an I/O error occurs
public void write(byte[] b,
int off,
int len)
throws IOException
OutputStreamingcb bytes starting at offset of from the array ab.write in interface OutputStreamingwrite in interface DataOutputwrite in class OutputStreamb - the byte array to write fromoff - the offset into ab to start writing fromlen - the number of bytes from ab to writeIOException - if an I/O error occurs
public void flush()
throws IOException
OutputStreamingflush in interface OutputStreamingflush in interface Flushableflush in class OutputStreamIOException - if an I/O error occurs
public void close()
throws IOException
OutputStreamingclose in interface OutputStreamingclose in interface Closeableclose in class OutputStreamIOException - if an I/O error occurspublic int size()
public void writeDouble(double v)
throws IOException
writeDouble in interface DataOutputIOException
public void writeFloat(float v)
throws IOException
writeFloat in interface DataOutputIOException
public void writeByte(int v)
throws IOException
writeByte in interface DataOutputIOException
public void writeChar(int v)
throws IOException
writeChar in interface DataOutputIOException
public void writeInt(int v)
throws IOException
writeInt in interface DataOutputIOException
public void writeShort(int v)
throws IOException
writeShort in interface DataOutputIOException
public void writeLong(long v)
throws IOException
writeLong in interface DataOutputIOException
public void writeBoolean(boolean v)
throws IOException
writeBoolean in interface DataOutputIOException
public void writeBytes(String s)
throws IOException
writeBytes in interface DataOutputIOException
public void writeChars(String s)
throws IOException
writeChars in interface DataOutputIOException
public void writeUTF(String s)
throws IOException
writeUTF in interface DataOutputIOException
|
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 | |||||||