public class FilePathNio extends FilePathWrapper
Constructor and Description |
---|
FilePathNio() |
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 FilePathWrapper
mode
- the access mode. Supported are r, rw, rws, rwdIOException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.