com.caucho.vfs
Class StringStream

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

public class StringStream
extends StreamImpl


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

Method Detail

open

public static ReadStream open(java.lang.String string)

getPath

public Path getPath()
Overrides:
getPath in class StreamImpl

canRead

public boolean canRead()
Overrides:
canRead in class StreamImpl

read

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

getAvailable

public int getAvailable()
                 throws java.io.IOException
Overrides:
getAvailable in class StreamImpl