public enum LineIdentifier extends Enum<LineIdentifier>
Enum Constant and Description |
---|
Attribute
Signifies the event when a new attribute is encountered.
|
ChangeType
Record being parsed is a 'changetype' record.
|
Comment
The current line is a comment and should be ignored.
|
Continuation
Indicates the current line parsed is a continuation of the previous line.
|
Control
An LDAP changetype control was encountered.
|
EndOfRecord
Signals the end of record has been reached.
|
NewRecord
Signifies the start of a new record in the file has been encountered: a DN declaration.
|
VersionIdentifier
Every LDIF file may optionally start with a version identifier of the form 'version: 1'.
|
Void
Parsed line should be ignored - used to skip remaining lines in a 'changetype' record.
|
Modifier and Type | Method and Description |
---|---|
static LineIdentifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineIdentifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineIdentifier VersionIdentifier
public static final LineIdentifier NewRecord
public static final LineIdentifier EndOfRecord
public static final LineIdentifier Attribute
public static final LineIdentifier Continuation
public static final LineIdentifier Comment
public static final LineIdentifier Control
public static final LineIdentifier ChangeType
public static final LineIdentifier Void
public static LineIdentifier[] values()
for (LineIdentifier c : LineIdentifier.values()) System.out.println(c);
public static LineIdentifier 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 null