Class FMFileAccessController.FileAccessorRAF
java.lang.Object
com.biglybt.core.diskmanager.file.impl.FMFileAccessController.FileAccessorRAF
- All Implemented Interfaces:
FMFileAccess.FileAccessor
- Enclosing class:
FMFileAccessController
public static class FMFileAccessController.FileAccessorRAF
extends Object
implements FMFileAccess.FileAccessor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longlongvoidsetLength(long len) voidsetPosition(long pos) voidwrite(int b)
-
Field Details
-
raf
-
-
Constructor Details
-
FileAccessorRAF
public FileAccessorRAF(File file, String access_mode, boolean explicit_sparse) throws FileNotFoundException - Throws:
FileNotFoundException
-
-
Method Details
-
getChannel
- Specified by:
getChannelin interfaceFMFileAccess.FileAccessor
-
getLength
- Specified by:
getLengthin interfaceFMFileAccess.FileAccessor- Throws:
IOException
-
setLength
- Specified by:
setLengthin interfaceFMFileAccess.FileAccessor- Throws:
IOException
-
getPosition
- Specified by:
getPositionin interfaceFMFileAccess.FileAccessor- Throws:
IOException
-
setPosition
- Specified by:
setPositionin interfaceFMFileAccess.FileAccessor- Throws:
IOException
-
write
- Specified by:
writein interfaceFMFileAccess.FileAccessor- Throws:
IOException
-
close
- Specified by:
closein interfaceFMFileAccess.FileAccessor- Throws:
IOException
-
getString
- Specified by:
getStringin interfaceFMFileAccess.FileAccessor
-