Package com.metsci.glimpse.util.io
Class FileMapperStandard
- java.lang.Object
-
- com.metsci.glimpse.util.io.FileMapperStandard
-
- All Implemented Interfaces:
FileMapper
public class FileMapperStandard extends Object implements FileMapper
-
-
Constructor Summary
Constructors Constructor Description FileMapperStandard()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RunnablecreateUnmapper(long address, long size, RandomAccessFile raf)longmap(RandomAccessFile raf, long size, boolean writable)
-
-
-
Method Detail
-
map
public long map(RandomAccessFile raf, long size, boolean writable) throws IOException
- Specified by:
mapin interfaceFileMapper- Throws:
IOException
-
createUnmapper
public Runnable createUnmapper(long address, long size, RandomAccessFile raf)
- Specified by:
createUnmapperin interfaceFileMapper
-
-