Class FilePathEncrypt.FileEncrypt
- java.lang.Object
-
- java.nio.channels.spi.AbstractInterruptibleChannel
-
- java.nio.channels.FileChannel
-
- org.dizitart.no2.mvstore.compat.v1.mvstore.fs.FileBase
-
- org.dizitart.no2.mvstore.compat.v1.mvstore.fs.FilePathEncrypt.FileEncrypt
-
- All Implemented Interfaces:
Closeable,AutoCloseable,ByteChannel,Channel,GatheringByteChannel,InterruptibleChannel,ReadableByteChannel,ScatteringByteChannel,SeekableByteChannel,WritableByteChannel
- Enclosing class:
- FilePathEncrypt
public static class FilePathEncrypt.FileEncrypt extends FileBase
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.nio.channels.FileChannel
FileChannel.MapMode
-
-
Constructor Summary
Constructors Constructor Description FileEncrypt(String var1, byte[] var2, FileChannel var3)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidforce(boolean var1)longposition()FileChannelposition(long var1)intread(ByteBuffer var1)intread(ByteBuffer var1, long var2)longsize()StringtoString()FileChanneltruncate(long var1)FileLocktryLock(long var1, long var3, boolean var5)intwrite(ByteBuffer var1)intwrite(ByteBuffer var1, long var2)-
Methods inherited from class org.dizitart.no2.mvstore.compat.v1.mvstore.fs.FileBase
lock, map, read, transferFrom, transferTo, write
-
Methods inherited from class java.nio.channels.spi.AbstractInterruptibleChannel
close, isOpen
-
-
-
-
Constructor Detail
-
FileEncrypt
public FileEncrypt(String var1, byte[] var2, FileChannel var3)
-
-
Method Detail
-
position
public FileChannel position(long var1) throws IOException
- Specified by:
positionin interfaceSeekableByteChannel- Specified by:
positionin classFileBase- Throws:
IOException
-
position
public long position() throws IOException- Specified by:
positionin interfaceSeekableByteChannel- Specified by:
positionin classFileBase- Throws:
IOException
-
read
public int read(ByteBuffer var1) throws IOException
- Specified by:
readin interfaceReadableByteChannel- Specified by:
readin interfaceSeekableByteChannel- Specified by:
readin classFileBase- Throws:
IOException
-
read
public int read(ByteBuffer var1, long var2) throws IOException
- Overrides:
readin classFileBase- Throws:
IOException
-
write
public int write(ByteBuffer var1, long var2) throws IOException
- Overrides:
writein classFileBase- Throws:
IOException
-
write
public int write(ByteBuffer var1) throws IOException
- Specified by:
writein interfaceSeekableByteChannel- Specified by:
writein interfaceWritableByteChannel- Specified by:
writein classFileBase- Throws:
IOException
-
size
public long size() throws IOException- Specified by:
sizein interfaceSeekableByteChannel- Specified by:
sizein classFileBase- Throws:
IOException
-
truncate
public FileChannel truncate(long var1) throws IOException
- Specified by:
truncatein interfaceSeekableByteChannel- Specified by:
truncatein classFileBase- Throws:
IOException
-
force
public void force(boolean var1) throws IOException- Overrides:
forcein classFileBase- Throws:
IOException
-
tryLock
public FileLock tryLock(long var1, long var3, boolean var5) throws IOException
- Overrides:
tryLockin classFileBase- Throws:
IOException
-
-