public class FilePathNioMapped extends FilePathWrapper
Constructor and Description |
---|
FilePathNioMapped() |
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.
|
canWrite, createDirectory, createFile, createTempFile, delete, exists, getBase, getParent, getPath, getPrefix, isAbsolute, isDirectory, isRegularFile, lastModified, moveTo, newDirectoryStream, newInputStream, newOutputStream, setReadOnly, size, toRealPath, unwrap, unwrap, wrap
get, getName, newFileChannelOutputStream, register, toString, unregister
public java.nio.channels.FileChannel open(java.lang.String mode) throws java.io.IOException
FilePath
open
in class FilePathWrapper
mode
- the access mode. Supported are r, rw, rws, rwdjava.io.IOException
- If an I/O error occurs