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 |
---|---|
String |
getScheme()
Get the scheme (prefix) for this file provider.
|
FileChannel |
open(String mode)
Open a random access file object.
|
static FileChannel |
wrap(FileChannel f) |
canWrite, createDirectory, createFile, createTempFile, delete, exists, getBase, getParent, getPath, getPrefix, isAbsolute, isDirectory, lastModified, moveTo, newDirectoryStream, newInputStream, newOutputStream, setReadOnly, size, toRealPath, unwrap, unwrap, wrap
get, getName, getNextTempFileNamePart, register, toString, unregister
public static final FilePathCache INSTANCE
public static FileChannel wrap(FileChannel f)
public FileChannel open(String mode) throws IOException
FilePath
open
in class FilePathWrapper
mode
- the access mode. Supported are r, rw, rws, rwdIOException
Copyright © 2020 JBoss by Red Hat. All rights reserved.