public class FilePathCache extends FilePathWrapper
| 限定符和类型 | 类和说明 |
|---|---|
static class |
FilePathCache.FileCache
A file with a read cache.
|
| 限定符和类型 | 字段和说明 |
|---|---|
static FilePathCache |
INSTANCE
The instance.
|
| 构造器和说明 |
|---|
FilePathCache() |
| 限定符和类型 | 方法和说明 |
|---|---|
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, wrapget, getName, getNextTempFileNamePart, register, toString, unregisterpublic static final FilePathCache INSTANCE
public static FileChannel wrap(FileChannel f)
public FileChannel open(String mode) throws IOException
FilePathopen 在类中 FilePathWrappermode - the access mode. Supported are r, rw, rws, rwdIOExceptionCopyright © 2017. All rights reserved.