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(java.lang.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 |
---|---|
java.nio.channels.FileChannel |
Xnio.openFile(java.io.File file,
FileAccess access)
Open a file on the filesystem.
|
java.nio.channels.FileChannel |
Xnio.openFile(java.lang.String fileName,
FileAccess access)
Open a file on the filesystem.
|
Copyright © 2010 JBoss, a division of Red Hat, Inc.