com.caucho.vfs
Class StdoutStream

java.lang.Object
  |
  +--com.caucho.vfs.StreamImpl
        |
        +--com.caucho.vfs.StdoutStream

public class StdoutStream
extends StreamImpl

Stream encapsulating System.out.


Fields inherited from class com.caucho.vfs.StreamImpl
path
 
Method Summary
 boolean canWrite()
           
static StdoutStream create()
          Returns the StdoutStream singleton
 void write(byte[] buf, int offset, int length, boolean isEnd)
           
 
Methods inherited from class com.caucho.vfs.StreamImpl
canRead, clearWrite, close, flush, getAttribute, getAttributeNames, getAvailable, getFlushOnNewline, getNewline, getPath, getReadPosition, read, removeAttribute, setAttribute, setPath, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static StdoutStream create()
Returns the StdoutStream singleton

canWrite

public boolean canWrite()
Overrides:
canWrite in class StreamImpl

write

public void write(byte[] buf,
                  int offset,
                  int length,
                  boolean isEnd)
           throws java.io.IOException
Overrides:
write in class StreamImpl