public class FilePathNioMapped extends FilePathNio
Constructor and Description |
---|
FilePathNioMapped() |
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.
|
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 FileChannel open(String mode) throws IOException
FilePath
open
in class FilePathNio
mode
- the access mode. Supported are r, rw, rws, rwdIOException
public String getScheme()
FilePath
java.nio.file.spi.FileSystemProvider.getScheme
.getScheme
in class FilePathNio
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.