public static enum SaneOption.OptionWriteInfo extends java.lang.Enum<SaneOption.OptionWriteInfo>
| Enum Constant and Description |
|---|
INEXACT
The value passed to SANE was accepted, but the SANE daemon has chosen a different value than
the one specified.
|
RELOAD_OPTIONS
Setting the option may have resulted in changes to other options and the client should
re-read options whose values it needs.
|
RELOAD_PARAMETERS
Setting the option may have caused a parameter set by the user to have changed.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getWireValue()
Returns the integer used by the SANE network protocol to represent an instance of this enum on
the wire.
|
static SaneOption.OptionWriteInfo |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SaneOption.OptionWriteInfo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SaneOption.OptionWriteInfo INEXACT
public static final SaneOption.OptionWriteInfo RELOAD_OPTIONS
public static final SaneOption.OptionWriteInfo RELOAD_PARAMETERS
public static SaneOption.OptionWriteInfo[] values()
for (SaneOption.OptionWriteInfo c : SaneOption.OptionWriteInfo.values()) System.out.println(c);
public static SaneOption.OptionWriteInfo 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 getWireValue()