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
-
public class FilePathMemLZF extends FilePathMem
A memory file system that compresses blocks to conserve memory.
-
-
Constructor Summary
Constructors Constructor Description FilePathMemLZF()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) boolean
compressed()
Whether the file should be compressed.FilePathMem
getPath(java.lang.String path)
Convert a file to a path.java.lang.String
getScheme()
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
-
-
-
-
Method Detail
-
getPath
public FilePathMem getPath(java.lang.String path)
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
public java.lang.String 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
-
-