FileMem
This class represents an in-memory file.
| Methods |
| void |
force(boolean metaData)
|
| void |
force(boolean metaData) throws IOException
|
| void |
implCloseChannel()
|
| void |
implCloseChannel() throws IOException
|
| FileChannel |
position(long newPos)
|
| FileChannel |
position(long newPos)
|
| long |
position()
|
| long |
position()
|
| int |
read(ByteBuffer dst, long position)
|
| int |
read(ByteBuffer dst, long position) throws IOException
|
| int |
read(ByteBuffer dst)
|
| int |
read(ByteBuffer dst) throws IOException
|
| long |
size()
|
| long |
size()
|
| String |
toString()
|
| String |
toString()
|
| FileChannel |
truncate(long newLength)
|
| FileChannel |
truncate(long newLength) throws IOException
|
| FileLock |
tryLock(long position, long size, boolean shared)
|
| FileLock |
tryLock(long position, long size, boolean shared) throws IOException
|
| int |
write(ByteBuffer src, long position)
|
| int |
write(ByteBuffer src, long position) throws IOException
|
| int |
write(ByteBuffer src)
|
| int |
write(ByteBuffer src) throws IOException
|
| Fields |
| static FileMemData |
data
|
data
The file data.
|