| Package | Description |
|---|---|
| org.apache.directory.api.ldap.model.entry | |
| org.apache.directory.api.ldap.model.ldif |
| Modifier and Type | Method and Description |
|---|---|
private Entry |
DefaultEntry.createEntry(SchemaManager schemaManager,
java.lang.Object... elements) |
| Modifier and Type | Method and Description |
|---|---|
static javax.naming.directory.Attributes |
LdifUtils.getJndiAttributesFromLdif(java.lang.String ldif)
Convert a LDIF String to a JNDI attributes.
|
private void |
LdifAttributesReader.parseAttribute(javax.naming.directory.Attributes attributes,
java.lang.String line,
java.lang.String lowerLine)
Parse an AttributeType/AttributeValue
|
private javax.naming.directory.Attributes |
LdifAttributesReader.parseAttributes()
Parse a ldif file.
|
javax.naming.directory.Attributes |
LdifAttributesReader.parseAttributes(java.lang.String ldif)
A method which parses a ldif string and returns a list of Attributes.
|
private Control |
LdifReader.parseControl(java.lang.String line)
Parse a control.
|
protected java.lang.String |
LdifReader.parseDn(java.lang.String line)
Parse the Dn of an entry
|
private Entry |
LdifAttributesReader.parseEntry(SchemaManager schemaManager)
Parse a ldif file.
|
Entry |
LdifAttributesReader.parseEntry(SchemaManager schemaManager,
java.lang.String ldif)
A method which parses a ldif string and returns an Entry.
|
Entry |
LdifAttributesReader.parseEntry(java.lang.String ldif)
A method which parses a ldif string and returns an Entry.
|
private void |
LdifAttributesReader.parseEntryAttribute(SchemaManager schemaManager,
Entry entry,
java.lang.String line,
java.lang.String lowerLine)
Parse an AttributeType/AttributeValue
|
java.util.List<LdifEntry> |
LdifReader.parseLdif(java.lang.String ldif)
A method which parses a ldif string and returns a list of entries.
|
java.util.List<LdifEntry> |
LdifReader.parseLdifFile(java.lang.String fileName)
Parse a ldif file (using the default encoding).
|
java.util.List<LdifEntry> |
LdifReader.parseLdifFile(java.lang.String fileName,
java.lang.String encoding)
Parse a ldif file, decoding it using the given charset encoding
|
private void |
LdifReader.parseModify(LdifEntry entry,
java.util.Iterator<java.lang.String> iter)
Parse a modify change type.
|
private void |
LdifReader.parseModRdn(LdifEntry entry,
java.util.Iterator<java.lang.String> iter)
Parse a ModRDN operation
|
protected java.lang.Object |
LdifReader.parseValue(java.lang.String line,
int pos)
Parse the value part.
|
protected int |
LdifReader.parseVersion()
Parse the version from the ldif input.
|
protected void |
LdifReader.readLines()
Reads an entry in a ldif buffer, and returns the resulting lines, without
comments, and unfolded.
|
| Constructor and Description |
|---|
LdifEntry(Dn dn,
java.lang.Object... avas)
Creates a LdifEntry using a list of strings representing the Ldif element
|
LdifEntry(java.lang.String dn,
java.lang.Object... strings)
Creates a LdifEntry using a list of strings representing the Ldif element
|
LdifReader(java.io.File file)
A constructor which takes a File.
|
LdifReader(java.io.File file,
SchemaManager schemaManager)
A constructor which takes a File and a SchemaManager.
|
LdifReader(java.lang.String ldifFileName)
A constructor which takes a file name.
|