Class FMFileAccessController.FileAccessorFileChannel
java.lang.Object
com.biglybt.core.diskmanager.file.impl.FMFileAccessController.FileAccessorFileChannel
- All Implemented Interfaces:
FMFileAccess.FileAccessor
- Enclosing class:
- FMFileAccessController
public static class FMFileAccessController.FileAccessorFileChannel
extends Object
implements FMFileAccess.FileAccessor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
long
long
void
setLength
(long len) void
setPosition
(long pos) void
write
(int b)
-
Field Details
-
fc
-
-
Constructor Details
-
FileAccessorFileChannel
private FileAccessorFileChannel()
-
-
Method Details
-
getChannel
- Specified by:
getChannel
in interfaceFMFileAccess.FileAccessor
-
getLength
- Specified by:
getLength
in interfaceFMFileAccess.FileAccessor
- Throws:
IOException
-
setLength
- Specified by:
setLength
in interfaceFMFileAccess.FileAccessor
- Throws:
IOException
-
getPosition
- Specified by:
getPosition
in interfaceFMFileAccess.FileAccessor
- Throws:
IOException
-
setPosition
- Specified by:
setPosition
in interfaceFMFileAccess.FileAccessor
- Throws:
IOException
-
write
- Specified by:
write
in interfaceFMFileAccess.FileAccessor
- Throws:
IOException
-
close
- Specified by:
close
in interfaceFMFileAccess.FileAccessor
- Throws:
IOException
-
getString
- Specified by:
getString
in interfaceFMFileAccess.FileAccessor
-