|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.vfs.StreamImpl
com.caucho.vfs.TempCharStream
public class TempCharStream
Field Summary |
---|
Fields inherited from class com.caucho.vfs.StreamImpl |
---|
_nullPath, _path |
Constructor Summary | |
---|---|
TempCharStream()
|
Method Summary | |
---|---|
boolean |
canWrite()
Returns true since the temp stream can write. |
void |
clearWrite()
Clears any buffered values in the write. |
void |
close()
Closes the stream. |
void |
destroy()
Clean up the temp stream. |
void |
discard()
|
void |
flush()
Flushes the write output. |
TempCharBuffer |
getHead()
Returns the head. |
int |
getLength()
Returns the total length of the buffer's bytes |
char[] |
getTail()
Returns the tail buffer. |
void |
openWrite()
Initializes the temp stream for writing. |
void |
write(char[] buf,
int offset,
int length)
|
void |
write(int ch)
|
void |
write(java.lang.String s,
int offset,
int length)
Writes part of a string. |
Methods inherited from class com.caucho.vfs.StreamImpl |
---|
canRead, closeWrite, flushBuffer, flushToDisk, getAttribute, getAttributeNames, getAvailable, getFlushOnNewline, getNewline, getPath, getReadBuffer, getReadPosition, hasSkip, isClosed, isEof, isMmapEnabled, isSendfileEnabled, read, readNonBlock, readTimeout, removeAttribute, seekEnd, seekStart, setAttribute, setPath, setWriteEncoding, skip, write, write, writeMmap, writeSendfile |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TempCharStream()
Method Detail |
---|
public void openWrite()
public char[] getTail()
public TempCharBuffer getHead()
public boolean canWrite()
canWrite
in class StreamImpl
public void write(char[] buf, int offset, int length) throws java.io.IOException
java.io.IOException
public void write(java.lang.String s, int offset, int length) throws java.io.IOException
java.io.IOException
public void write(int ch) throws java.io.IOException
java.io.IOException
public void flush() throws java.io.IOException
StreamImpl
flush
in class StreamImpl
java.io.IOException
public void close() throws java.io.IOException
StreamImpl
close
in class StreamImpl
java.io.IOException
public int getLength()
public void clearWrite()
StreamImpl
clearWrite
in class StreamImpl
public void discard()
public void destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |