| java.lang.Object com.caucho.vfs.StreamImpl com.caucho.vfs.TempCharStream
Method Summary | |
public boolean | canWrite() Returns true since the temp stream can write. | public void | clearWrite() | public void | close() | public void | destroy() Clean up the temp stream. | public void | discard() | public void | flush() | public TempCharBuffer | getHead() Returns the head. | public int | getLength() | public char[] | getTail() Returns the tail buffer. | public void | openWrite() Initializes the temp stream for writing. | public void | write(char[] buf, int offset, int length) | public void | write(String s, int offset, int length) Writes part of a string. | public void | write(int ch) |
TempCharStream | public TempCharStream()(Code) | | |
canWrite | public boolean canWrite()(Code) | | Returns true since the temp stream can write.
|
clearWrite | public void clearWrite()(Code) | | |
destroy | public void destroy()(Code) | | Clean up the temp stream.
|
discard | public void discard()(Code) | | |
getLength | public int getLength()(Code) | | Returns the total length of the buffer's bytes
|
getTail | public char[] getTail()(Code) | | Returns the tail buffer.
|
openWrite | public void openWrite()(Code) | | Initializes the temp stream for writing.
|
Methods inherited from com.caucho.vfs.StreamImpl | public boolean canRead()(Code)(Java Doc) public boolean canWrite()(Code)(Java Doc) public void clearWrite()(Code)(Java Doc) public void close() throws IOException(Code)(Java Doc) public void closeWrite() throws IOException(Code)(Java Doc) public void flush() throws IOException(Code)(Java Doc) public void flushBuffer() throws IOException(Code)(Java Doc) public void flushToDisk() throws IOException(Code)(Java Doc) public Object getAttribute(String name) throws IOException(Code)(Java Doc) public Iterator getAttributeNames() throws IOException(Code)(Java Doc) public int getAvailable() throws IOException(Code)(Java Doc) public boolean getFlushOnNewline()(Code)(Java Doc) public byte[] getNewline()(Code)(Java Doc) public Path getPath()(Code)(Java Doc) public byte[] getReadBuffer()(Code)(Java Doc) public long getReadPosition()(Code)(Java Doc) public boolean hasSkip()(Code)(Java Doc) public int read(byte[] buffer, int offset, int length) throws IOException(Code)(Java Doc) public int readNonBlock(byte[] buffer, int offset, int length) throws IOException(Code)(Java Doc) public int readTimeout(byte[] buffer, int offset, int length, long timeout) throws IOException(Code)(Java Doc) public void removeAttribute(String name) throws IOException(Code)(Java Doc) public void seekEnd(long offset) throws IOException(Code)(Java Doc) public void seekStart(long offset) throws IOException(Code)(Java Doc) public void setAttribute(String name, Object value) throws IOException(Code)(Java Doc) public void setPath(Path path)(Code)(Java Doc) public void setWriteEncoding(String encoding)(Code)(Java Doc) public long skip(long n) throws IOException(Code)(Java Doc) public void write(byte[] buffer, int offset, int length, boolean isEnd) throws IOException(Code)(Java Doc) public boolean write(byte[] buf1, int off1, int len1, byte[] buf2, int off2, int len2, boolean isEnd) throws IOException(Code)(Java Doc)
|
|
|