Serializable
, Comparable<ResultFormat>
public enum ResultFormat extends Enum<ResultFormat>
Enum Constant | Description |
---|---|
JSON |
The result is formatted as JSON.
|
LDIF |
The result is formatted as LDIF.
|
Modifier and Type | Method | Description |
---|---|---|
static ResultFormat |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ResultFormat[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultFormat JSON
public static final ResultFormat LDIF
public static ResultFormat[] values()
for (ResultFormat c : ResultFormat.values()) System.out.println(c);
public static ResultFormat valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018 Connect2id. All rights reserved.