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 classFilePathCache.FileCacheA file with a read cache.
-
Field Summary
Fields Modifier and Type Field Description static FilePathCacheINSTANCEThe instance.
-
Constructor Summary
Constructors Constructor Description FilePathCache()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetScheme()FileChannelopen(String mode)static FileChannelwrap(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:
openin classFilePathWrapper- Throws:
IOException
-
-