|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
com.caucho.vfs.TempOutputStream
public class TempOutputStream
| Constructor Summary | |
|---|---|
TempOutputStream()
|
|
| Method Summary | |
|---|---|
void |
clear()
clear without removing |
void |
close()
|
void |
destroy()
Clean up the temp stream. |
void |
flush()
|
TempBuffer |
getHead()
Returns the head buffer. |
int |
getLength()
Returns the total length of the buffer's bytes |
byte[] |
getTail()
|
java.io.InputStream |
openInputStream()
Opens a read stream to the buffer. |
java.io.InputStream |
openInputStreamNoFree()
Opens a read stream to the buffer. |
ReadStream |
openRead()
Opens a read stream to the buffer. |
void |
write(byte[] buf,
int offset,
int length)
|
void |
write(int ch)
|
void |
writeToStream(java.io.OutputStream os)
|
| Methods inherited from class java.io.OutputStream |
|---|
write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TempOutputStream()
| Method Detail |
|---|
public byte[] getTail()
public void write(int ch)
write in class java.io.OutputStream
public void write(byte[] buf,
int offset,
int length)
write in class java.io.OutputStream
public void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOException
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.OutputStreamjava.io.IOException
public ReadStream openRead()
throws java.io.IOException
java.io.IOException
public java.io.InputStream openInputStream()
throws java.io.IOException
java.io.IOException
public java.io.InputStream openInputStreamNoFree()
throws java.io.IOException
java.io.IOExceptionpublic TempBuffer getHead()
public void clear()
public void writeToStream(java.io.OutputStream os)
throws java.io.IOException
java.io.IOExceptionpublic int getLength()
public void destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||