public class TempFileInode
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
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.
|
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()