Package org.h2.store.fs.mem
Class FilePathMemLZF
java.lang.Object
org.h2.store.fs.FilePath
org.h2.store.fs.mem.FilePathMem
org.h2.store.fs.mem.FilePathMemLZF
A memory file system that compresses blocks to conserve memory.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) boolean
Whether the file should be compressed.Convert a file to a path.Get the scheme (prefix) for this file provider.Methods inherited from class org.h2.store.fs.mem.FilePathMem
canWrite, createDirectory, createFile, delete, exists, getCanonicalPath, getParent, isAbsolute, isDirectory, lastModified, moveTo, newDirectoryStream, open, setReadOnly, size, toRealPath
Methods inherited from class org.h2.store.fs.FilePath
createTempFile, get, getName, newFileChannelOutputStream, newInputStream, newOutputStream, register, toString, unregister, unwrap
-
Constructor Details
-
FilePathMemLZF
public FilePathMemLZF()
-
-
Method Details
-
getPath
Description copied from class:FilePath
Convert 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:
getPath
in classFilePathMem
- Parameters:
path
- the path- Returns:
- the file path object
-
compressed
boolean compressed()Description copied from class:FilePathMem
Whether the file should be compressed.- Overrides:
compressed
in classFilePathMem
- Returns:
- if it should be compressed.
-
getScheme
Description copied from class:FilePath
Get the scheme (prefix) for this file provider. This is similar tojava.nio.file.spi.FileSystemProvider.getScheme
.- Overrides:
getScheme
in classFilePathMem
- Returns:
- the scheme
-