public class FilePathCache extends 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, wrapget, getName, getNextTempFileNamePart, register, toString, unregisterpublic 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
FilePathopen in class FilePathWrappermode - the access mode. Supported are r, rw, rws, rwdjava.io.IOException