Package | Description |
---|---|
org.xnio |
The main API package for XNIO.
|
Modifier and Type | Field and Description |
---|---|
static Option<FileAccess> |
Options.FILE_ACCESS
The file access mode to use when opening a file.
|
Modifier and Type | Method and Description |
---|---|
static FileAccess |
FileAccess.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileAccess[] |
FileAccess.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
FileChannel |
Xnio.openFile(File file,
FileAccess access)
Open a file on the filesystem.
|
FileChannel |
Xnio.openFile(String fileName,
FileAccess access)
Open a file on the filesystem.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.