Class SeparatorPolicy
- java.lang.Object
-
- org.springframework.ldap.ldif.support.SeparatorPolicy
-
public class SeparatorPolicy extends java.lang.Object
Policy object for enforcing LDIF record separation rules. Designed explicitly for use in LdifParser. This default separator policy should really not be required to be replaced but it is modular just in case.This class applies the separation policy prescribed in RFC2849 for LDIF files and identifies the line type from the input.
-
-
Constructor Summary
Constructors Constructor Description SeparatorPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LineIdentifier
assess(java.lang.String line)
Assess a read line.
-
-
-
Method Detail
-
assess
public LineIdentifier assess(java.lang.String line)
Assess a read line.In LDIF, lines must adhere to a particular format. A line can only contain one attribute and its value. The value may span multiple lines. Continuation lines are marked by the presence of a single space in the 1st position. Non-continuation lines must start in the first position.
-
-