com.caucho.quercus.lib.file
Class PhpStdout

java.lang.Object
  extended by java.io.OutputStream
      extended by com.caucho.quercus.lib.file.AbstractBinaryOutput
          extended by com.caucho.quercus.lib.file.PhpStdout
All Implemented Interfaces:
BinaryOutput, BinaryStream, java.io.Closeable, java.io.Flushable

public class PhpStdout
extends AbstractBinaryOutput


Field Summary
 
Fields inherited from interface com.caucho.quercus.lib.file.BinaryStream
SEEK_CUR, SEEK_END, SEEK_SET
 
Constructor Summary
PhpStdout()
           
 
Method Summary
 java.lang.String toString()
           
 void write(byte[] buffer, int offset, int length)
          Writes a buffer.
 void write(int b)
           
 
Methods inherited from class com.caucho.quercus.lib.file.AbstractBinaryOutput
close, closeWrite, flush, getOutputStream, getPosition, getResourceType, isEOF, print, print, seek, setPosition, stat, write
 
Methods inherited from class java.io.OutputStream
write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PhpStdout

public PhpStdout()
Method Detail

write

public void write(byte[] buffer,
                  int offset,
                  int length)
           throws java.io.IOException
Writes a buffer.

Specified by:
write in interface BinaryOutput
Overrides:
write in class java.io.OutputStream
Throws:
java.io.IOException

write

public void write(int b)
           throws java.io.IOException
Specified by:
write in class java.io.OutputStream
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object