public enum FuseBufFlags extends java.lang.Enum<FuseBufFlags> implements jnr.ffi.util.EnumMapper.IntegerEnum
| Enum Constant and Description |
|---|
FUSE_BUF_FD_RETRY
Retry operation on file descriptor
|
FUSE_BUF_FD_SEEK
Seek on the file descriptor
|
FUSE_BUF_IS_FD
Buffer contains a file descriptor
|
NULL_VALUE
JNR does not work without null value enum
|
| Modifier and Type | Method and Description |
|---|---|
int |
intValue()
Special JNR method, see jnr.ffi.util.EnumMapper#getNumberValueMethod(java.lang.Class, java.lang.Class)
|
static FuseBufFlags |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FuseBufFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FuseBufFlags FUSE_BUF_IS_FD
If this flag is set, the .fd field is valid, otherwise the .mem fields is valid.
public static final FuseBufFlags FUSE_BUF_FD_SEEK
If this flag is set then the .pos field is valid and is used to seek to the given offset before performing operation on file descriptor.
public static final FuseBufFlags FUSE_BUF_FD_RETRY
If this flag is set then retry operation on file descriptor until .size bytes have been copied or an error or EOF is detected.
public static final FuseBufFlags NULL_VALUE
public static FuseBufFlags[] values()
for (FuseBufFlags c : FuseBufFlags.values()) System.out.println(c);
public static FuseBufFlags valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int intValue()
intValue in interface jnr.ffi.util.EnumMapper.IntegerEnum