Class FileBase
java.lang.Object
java.nio.channels.spi.AbstractInterruptibleChannel
java.nio.channels.FileChannel
org.dizitart.no2.mvstore.compat.v1.mvstore.fs.FileBase
- All Implemented Interfaces:
Closeable,AutoCloseable,ByteChannel,Channel,GatheringByteChannel,InterruptibleChannel,ReadableByteChannel,ScatteringByteChannel,SeekableByteChannel,WritableByteChannel
- Direct Known Subclasses:
FilePathCache.FileCache,FilePathEncrypt.FileEncrypt
-
Nested Class Summary
Nested classes/interfaces inherited from class java.nio.channels.FileChannel
FileChannel.MapMode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidforce(boolean var1) lock(long var1, long var3, boolean var5) map(FileChannel.MapMode var1, long var2, long var4) abstract longposition()abstract FileChannelposition(long var1) abstract intread(ByteBuffer var1) longread(ByteBuffer[] var1, int var2, int var3) intread(ByteBuffer var1, long var2) abstract longsize()longtransferFrom(ReadableByteChannel var1, long var2, long var4) longtransferTo(long var1, long var3, WritableByteChannel var5) abstract FileChanneltruncate(long var1) tryLock(long var1, long var3, boolean var5) abstract intwrite(ByteBuffer var1) longwrite(ByteBuffer[] var1, int var2, int var3) intwrite(ByteBuffer var1, long var2) Methods inherited from class java.nio.channels.spi.AbstractInterruptibleChannel
close, isOpen
-
Constructor Details
-
FileBase
public FileBase()
-
-
Method Details
-
size
- Specified by:
sizein interfaceSeekableByteChannel- Specified by:
sizein classFileChannel- Throws:
IOException
-
position
- Specified by:
positionin interfaceSeekableByteChannel- Specified by:
positionin classFileChannel- Throws:
IOException
-
position
- Specified by:
positionin interfaceSeekableByteChannel- Specified by:
positionin classFileChannel- Throws:
IOException
-
read
- Specified by:
readin interfaceReadableByteChannel- Specified by:
readin interfaceSeekableByteChannel- Specified by:
readin classFileChannel- Throws:
IOException
-
write
- Specified by:
writein interfaceSeekableByteChannel- Specified by:
writein interfaceWritableByteChannel- Specified by:
writein classFileChannel- Throws:
IOException
-
read
- Specified by:
readin classFileChannel- Throws:
IOException
-
write
- Specified by:
writein classFileChannel- Throws:
IOException
-
truncate
- Specified by:
truncatein interfaceSeekableByteChannel- Specified by:
truncatein classFileChannel- Throws:
IOException
-
force
- Specified by:
forcein classFileChannel- Throws:
IOException
-
lock
- Specified by:
lockin classFileChannel- Throws:
IOException
-
map
- Specified by:
mapin classFileChannel- Throws:
IOException
-
read
- Specified by:
readin interfaceScatteringByteChannel- Specified by:
readin classFileChannel- Throws:
IOException
-
transferFrom
- Specified by:
transferFromin classFileChannel- Throws:
IOException
-
transferTo
- Specified by:
transferToin classFileChannel- Throws:
IOException
-
tryLock
- Specified by:
tryLockin classFileChannel- Throws:
IOException
-
write
- Specified by:
writein interfaceGatheringByteChannel- Specified by:
writein classFileChannel- Throws:
IOException
-