public class FilePathCache
extends org.h2.store.fs.FilePathWrapper
| Modifier and Type | Class and Description |
|---|---|
static class |
FilePathCache.FileCache
A file with a read cache.
|
| Modifier and Type | Field and Description |
|---|---|
static FilePathCache |
INSTANCE
The instance.
|
| Constructor and Description |
|---|
FilePathCache() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getScheme()
Get the scheme (prefix) for this file provider.
|
java.nio.channels.FileChannel |
open(java.lang.String mode)
Open a random access file object.
|
static java.nio.channels.FileChannel |
wrap(java.nio.channels.FileChannel f) |
canWrite, createDirectory, createFile, createTempFile, delete, exists, getBase, getParent, getPath, getPrefix, isAbsolute, isDirectory, lastModified, moveTo, newDirectoryStream, newInputStream, newOutputStream, setReadOnly, size, toRealPath, unwrap, unwrap, wrappublic static final FilePathCache INSTANCE
public static java.nio.channels.FileChannel wrap(java.nio.channels.FileChannel f)
public java.nio.channels.FileChannel open(java.lang.String mode)
throws java.io.IOException
org.h2.store.fs.FilePathopen in class org.h2.store.fs.FilePathWrappermode - the access mode. Supported are r, rw, rws, rwdjava.io.IOExceptionpublic java.lang.String getScheme()
org.h2.store.fs.FilePathjava.nio.file.spi.FileSystemProvider.getScheme.getScheme in class org.h2.store.fs.FilePath