public static enum Connect.OpenFlags extends java.lang.Enum<Connect.OpenFlags> implements BitFlags
Enum Constant and Description |
---|
NO_ALIASES
Don't try to resolve URI aliases
|
READONLY
Open a connection in read-only mode
|
Modifier and Type | Method and Description |
---|---|
int |
getBit() |
static Connect.OpenFlags |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Connect.OpenFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Connect.OpenFlags READONLY
public static final Connect.OpenFlags NO_ALIASES
public static Connect.OpenFlags[] values()
for (Connect.OpenFlags c : Connect.OpenFlags.values()) System.out.println(c);
public static Connect.OpenFlags 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 null