com.caucho.vfs
Class ContextStream

java.lang.Object
  |
  +--com.caucho.vfs.StreamImpl
        |
        +--com.caucho.vfs.ClassLoaderStream
              |
              +--com.caucho.vfs.ContextStream

public class ContextStream
extends ClassLoaderStream

A stream that varies depending on the context class loader.


Fields inherited from class com.caucho.vfs.StreamImpl
nullPath, path
 
Constructor Summary
ContextStream(java.lang.String contextVariable, java.io.OutputStream defaultStream)
          Create the context stream.
 
Methods inherited from class com.caucho.vfs.ClassLoaderStream
canWrite, close, flush, getDefaultStream, getStderr, getStdout, getStream, getVariable, setDefaultStream, setStderr, setStdout, setStream, write
 
Methods inherited from class com.caucho.vfs.StreamImpl
canRead, clearWrite, getAttribute, getAttributeNames, getAvailable, getFlushOnNewline, getNewline, getPath, getReadPosition, hasSkip, read, removeAttribute, setAttribute, setPath, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextStream

public ContextStream(java.lang.String contextVariable,
                     java.io.OutputStream defaultStream)
Create the context stream.
Parameters:
contextVariable - the variable for the underlying stream