com.caucho.quercus.lib.file
Class PhpBinaryOutput

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

public class PhpBinaryOutput
extends AbstractBinaryOutput


Field Summary
 
Fields inherited from interface com.caucho.quercus.lib.file.BinaryStream
SEEK_CUR, SEEK_END, SEEK_SET
 
Constructor Summary
PhpBinaryOutput(Env env)
           
 
Method Summary
 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, toString, wait, wait, wait
 

Constructor Detail

PhpBinaryOutput

public PhpBinaryOutput(Env env)
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