FilePathEncrypt.FileEncrypt
An encrypted file with a read cache.
| Methods |
| void |
force(boolean metaData)
|
| void |
force(boolean metaData) throws IOException
|
| void |
implCloseChannel()
|
| void |
implCloseChannel() throws IOException
|
| FileChannel |
position(long newPosition)
|
| FileChannel |
position(long newPosition) throws IOException
|
| long |
position()
|
| long |
position() throws IOException
|
| int |
read(ByteBuffer dst)
|
| int |
read(ByteBuffer dst) throws IOException
|
| int |
read(ByteBuffer dst, long position)
|
| int |
read(ByteBuffer dst, long position) throws IOException
|
| long |
size()
|
| long |
size() throws IOException
|
| String |
toString()
|
| String |
toString()
|
| FileChannel |
truncate(long newSize)
|
| FileChannel |
truncate(long newSize) 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
|
BLOCK_SIZE_MASK
= 4095
The block size bit mask.
BLOCK_SIZE
= 4096
The block size.
HEADER_LENGTH
= 4096
The length of the file header. Using a smaller header is possible,
but would mean reads and writes are not aligned to the block size.
|