public static class NullImplementation.NullOutputStream extends OutputStream implements OutputStreaming, DataOutput
| Modifier and Type | Method and Description | 
|---|---|
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) | 
public void write(int b)
           throws IOException
b. The 24
 high-order bits of b are ignored.write in interface com.oracle.common.io.OutputStreamingwrite in interface DataOutputwrite in class OutputStreamb - the byte to write (passed as an integer)IOException - if an I/O error occurspublic void write(byte[] b)
           throws IOException
ab.write in interface com.oracle.common.io.OutputStreamingwrite in interface DataOutputwrite in class OutputStreamb - the byte array to writeIOException - if an I/O error occurspublic void write(byte[] b,
                  int off,
                  int len)
           throws IOException
cb bytes starting at offset of from
 the array ab.write in interface com.oracle.common.io.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 occurspublic void flush()
           throws IOException
flush in interface com.oracle.common.io.OutputStreamingflush in interface Flushableflush in class OutputStreamIOException - if an I/O error occurspublic void close()
           throws IOException
close in interface com.oracle.common.io.OutputStreamingclose in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOException - if an I/O error occurspublic int size()
public void writeDouble(double v)
                 throws IOException
writeDouble in interface DataOutputIOExceptionpublic void writeFloat(float v)
                throws IOException
writeFloat in interface DataOutputIOExceptionpublic void writeByte(int v)
               throws IOException
writeByte in interface DataOutputIOExceptionpublic void writeChar(int v)
               throws IOException
writeChar in interface DataOutputIOExceptionpublic void writeInt(int v)
              throws IOException
writeInt in interface DataOutputIOExceptionpublic void writeShort(int v)
                throws IOException
writeShort in interface DataOutputIOExceptionpublic void writeLong(long v)
               throws IOException
writeLong in interface DataOutputIOExceptionpublic void writeBoolean(boolean v)
                  throws IOException
writeBoolean in interface DataOutputIOExceptionpublic void writeBytes(String s) throws IOException
writeBytes in interface DataOutputIOExceptionpublic void writeChars(String s) throws IOException
writeChars in interface DataOutputIOExceptionpublic void writeUTF(String s) throws IOException
writeUTF in interface DataOutputIOException