|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.server.httpcache.TempFileInode
public class TempFileInode
Represents an inode to a temporary file.
Method Summary | |
---|---|
boolean |
allocate()
Allocates access to the inode. |
void |
free()
Allocates access to the inode. |
long |
getLength()
|
java.io.InputStream |
openInputStream()
Opens a stream to read from the temp file |
java.io.OutputStream |
openOutputStream()
Opens a stream to write to the temp file |
java.io.Writer |
openWriter()
|
void |
writeToStream(OutputStreamWithBuffer os)
Writes the inode value to a stream. |
void |
writeToStream(OutputStreamWithBuffer os,
long offset,
long length)
Writes the inode value to a stream. |
void |
writeToWriter(java.io.Writer out)
Writes the inode value to a stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public long getLength()
public boolean allocate()
public java.io.OutputStream openOutputStream()
public java.io.InputStream openInputStream()
public java.io.Writer openWriter()
public void writeToStream(OutputStreamWithBuffer os) throws java.io.IOException
java.io.IOException
public void writeToStream(OutputStreamWithBuffer os, long offset, long length) throws java.io.IOException
java.io.IOException
public void writeToWriter(java.io.Writer out) throws java.io.IOException
java.io.IOException
public void free()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |