Class FilePathNioMemLZF
java.lang.Object
org.h2.store.fs.FilePath
org.h2.store.fs.niomem.FilePathNioMem
org.h2.store.fs.niomem.FilePathNioMemLZF
A memory file system that compresses blocks to conserve memory.
-
Field Summary
Fields inherited from class FilePathNioMem
compressLaterCachePercent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) booleanWhether the file should be compressed.Convert a file to a path.Get the scheme (prefix) for this file provider.protected booleanisRoot()Methods inherited from class FilePathNioMem
canWrite, createDirectory, createFile, delete, exists, getCanonicalPath, getParent, isAbsolute, isDirectory, lastModified, moveTo, newDirectoryStream, open, setReadOnly, size, toRealPathMethods inherited from class FilePath
createTempFile, get, getName, newFileChannelOutputStream, newInputStream, newOutputStream, register, toString, unregister, unwrap
-
Constructor Details
-
FilePathNioMemLZF
public FilePathNioMemLZF()
-
-
Method Details
-
compressed
boolean compressed()Description copied from class:FilePathNioMemWhether the file should be compressed.- Overrides:
compressedin classFilePathNioMem- Returns:
- true if it should be compressed.
-
getPath
Description copied from class:FilePathConvert a file to a path. This is similar tojava.nio.file.spi.FileSystemProvider.getPath, but may return an object even if the scheme doesn't match in case of the default file provider.- Overrides:
getPathin classFilePathNioMem- Parameters:
path- the path- Returns:
- the file path object
-
isRoot
protected boolean isRoot()- Overrides:
isRootin classFilePathNioMem
-
getScheme
Description copied from class:FilePathGet the scheme (prefix) for this file provider. This is similar tojava.nio.file.spi.FileSystemProvider.getScheme.- Overrides:
getSchemein classFilePathNioMem- Returns:
- the scheme
-