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) booleancompressed()Whether the file should be compressed.FilePathMemgetPath(java.lang.String path)Convert a file to a path.java.lang.StringgetScheme()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: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 classFilePathMem- Parameters:
path- the path- Returns:
- the file path object
-
compressed
boolean compressed()
Description copied from class:FilePathMemWhether the file should be compressed.- Overrides:
compressedin classFilePathMem- Returns:
- if it should be compressed.
-
getScheme
public java.lang.String getScheme()
Description copied from class:FilePathGet the scheme (prefix) for this file provider. This is similar tojava.nio.file.spi.FileSystemProvider.getScheme.- Overrides:
getSchemein classFilePathMem- Returns:
- the scheme
-
-