Class FilePathCache
- java.lang.Object
-
- org.dizitart.no2.mvstore.compat.v1.mvstore.fs.FilePath
-
- org.dizitart.no2.mvstore.compat.v1.mvstore.fs.FilePathWrapper
-
- org.dizitart.no2.mvstore.compat.v1.mvstore.cache.FilePathCache
-
public class FilePathCache extends FilePathWrapper
A file with a read cache.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FilePathCache.FileCache
A file with a read cache.
-
Field Summary
Fields Modifier and Type Field Description static FilePathCache
INSTANCE
The instance.
-
Constructor Summary
Constructors Constructor Description FilePathCache()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getScheme()
FileChannel
open(String mode)
static FileChannel
wrap(FileChannel f)
-
Methods inherited from class org.dizitart.no2.mvstore.compat.v1.mvstore.fs.FilePathWrapper
canWrite, createDirectory, createFile, createTempFile, delete, exists, getParent, getPath, isAbsolute, isDirectory, lastModified, moveTo, newDirectoryStream, newInputStream, newOutputStream, setReadOnly, size, toRealPath, unwrap, wrap
-
-
-
-
Field Detail
-
INSTANCE
public static final FilePathCache INSTANCE
The instance.
-
-
Method Detail
-
wrap
public static FileChannel wrap(FileChannel f)
-
open
public FileChannel open(String mode) throws IOException
- Overrides:
open
in classFilePathWrapper
- Throws:
IOException
-
-