| 
 | Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
   java.io.OutputStream
java.io.OutputStream
       com.tangosol.util.NullImplementation.NullOutputStream
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 cbbytes starting at offsetoffrom the arrayab. | 
|  void | write(int b)Writes the eight low-order bits of the argument b. | 
|  void | writeBoolean(boolean v) | 
|  void | writeByte(int v) | 
|  void | writeBytes(java.lang.String s) | 
|  void | writeChar(int v) | 
|  void | writeChars(java.lang.String s) | 
|  void | writeDouble(double v) | 
|  void | writeFloat(float v) | 
|  void | writeInt(int v) | 
|  void | writeLong(long v) | 
|  void | writeShort(int v) | 
|  void | writeUTF(java.lang.String s) | 
| Method Detail | 
|---|
public void write(int b)
           throws java.io.IOException
b. The 24 high-order bits of b are ignored.write in interface OutputStreamingwrite in interface java.io.DataOutputwrite in class java.io.OutputStreamb - the byte to write (passed as an integer)java.io.IOException - if an I/O error occurs
public void write(byte[] b)
           throws java.io.IOException
ab.write in interface OutputStreamingwrite in interface java.io.DataOutputwrite in class java.io.OutputStreamb - the byte array to writejava.io.IOException - if an I/O error occurs
public void write(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
cb bytes starting at offset of from the array ab.write in interface OutputStreamingwrite in interface java.io.DataOutputwrite in class java.io.OutputStreamb - the byte array to write fromoff - the offset into ab to start writing fromlen - the number of bytes from ab to writejava.io.IOException - if an I/O error occurs
public void flush()
           throws java.io.IOException
flush in interface OutputStreamingflush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOException - if an I/O error occurs
public void close()
           throws java.io.IOException
close in interface OutputStreamingclose in interface java.io.Closeableclose in class java.io.OutputStreamjava.io.IOException - if an I/O error occurspublic int size()
public void writeDouble(double v)
                 throws java.io.IOException
writeDouble in interface java.io.DataOutputjava.io.IOException
public void writeFloat(float v)
                throws java.io.IOException
writeFloat in interface java.io.DataOutputjava.io.IOException
public void writeByte(int v)
               throws java.io.IOException
writeByte in interface java.io.DataOutputjava.io.IOException
public void writeChar(int v)
               throws java.io.IOException
writeChar in interface java.io.DataOutputjava.io.IOException
public void writeInt(int v)
              throws java.io.IOException
writeInt in interface java.io.DataOutputjava.io.IOException
public void writeShort(int v)
                throws java.io.IOException
writeShort in interface java.io.DataOutputjava.io.IOException
public void writeLong(long v)
               throws java.io.IOException
writeLong in interface java.io.DataOutputjava.io.IOException
public void writeBoolean(boolean v)
                  throws java.io.IOException
writeBoolean in interface java.io.DataOutputjava.io.IOException
public void writeBytes(java.lang.String s)
                throws java.io.IOException
writeBytes in interface java.io.DataOutputjava.io.IOException
public void writeChars(java.lang.String s)
                throws java.io.IOException
writeChars in interface java.io.DataOutputjava.io.IOException
public void writeUTF(java.lang.String s)
              throws java.io.IOException
writeUTF in interface java.io.DataOutputjava.io.IOException| 
 | Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||