Interface FMFileAccess.FileAccessor
-
- All Known Implementing Classes:
FMFileAccessController.FileAccessorFileChannel
,FMFileAccessController.FileAccessorRAF
- Enclosing interface:
- FMFileAccess
public static interface FMFileAccess.FileAccessor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
java.nio.channels.FileChannel
getChannel()
long
getLength()
long
getPosition()
void
setLength(long len)
void
setPosition(long pos)
void
write(int b)
-
-
-
Method Detail
-
getChannel
java.nio.channels.FileChannel getChannel()
-
getLength
long getLength() throws java.io.IOException
- Throws:
java.io.IOException
-
setLength
void setLength(long len) throws java.io.IOException
- Throws:
java.io.IOException
-
getPosition
long getPosition() throws java.io.IOException
- Throws:
java.io.IOException
-
setPosition
void setPosition(long pos) throws java.io.IOException
- Throws:
java.io.IOException
-
write
void write(int b) throws java.io.IOException
- Throws:
java.io.IOException
-
close
void close() throws java.io.IOException
- Throws:
java.io.IOException
-
-