| 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,
Object... elements) |
| Modifier and Type | Method and Description |
|---|---|
static Attributes |
LdifUtils.getJndiAttributesFromLdif(String ldif)
Convert a LDIF String to a JNDI attributes.
|
private void |
LdifAttributesReader.parseAttribute(Attributes attributes,
String line,
String lowerLine)
Parse an AttributeType/AttributeValue
|
private Attributes |
LdifAttributesReader.parseAttributes()
Parse a ldif file.
|
Attributes |
LdifAttributesReader.parseAttributes(String ldif)
A method which parses a ldif string and returns a list of Attributes.
|
private Control |
LdifReader.parseControl(String line)
Parse a control.
|
protected String |
LdifReader.parseDn(String line)
Parse the Dn of an entry
|
private Entry |
LdifAttributesReader.parseEntry(SchemaManager schemaManager)
Parse a ldif file.
|
Entry |
LdifAttributesReader.parseEntry(SchemaManager schemaManager,
String ldif)
A method which parses a ldif string and returns an Entry.
|
Entry |
LdifAttributesReader.parseEntry(String ldif)
A method which parses a ldif string and returns an Entry.
|
private void |
LdifAttributesReader.parseEntryAttribute(SchemaManager schemaManager,
Entry entry,
String line,
String lowerLine)
Parse an AttributeType/AttributeValue
|
List<LdifEntry> |
LdifReader.parseLdif(String ldif)
A method which parses a ldif string and returns a list of entries.
|
List<LdifEntry> |
LdifReader.parseLdifFile(String fileName)
Parse a ldif file (using the default encoding).
|
List<LdifEntry> |
LdifReader.parseLdifFile(String fileName,
String encoding)
Parse a ldif file, decoding it using the given charset encoding
|
private void |
LdifReader.parseModify(LdifEntry entry,
Iterator<String> iter)
Parse a modify change type.
|
private void |
LdifReader.parseModRdn(LdifEntry entry,
Iterator<String> iter)
Parse a ModRDN operation
|
protected Object |
LdifReader.parseValue(String attributeName,
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,
Object... avas)
Creates a LdifEntry using a list of strings representing the Ldif element
|
LdifEntry(String dn,
Object... strings)
Creates a LdifEntry using a list of strings representing the Ldif element
|
LdifReader(File file)
A constructor which takes a File.
|
LdifReader(File file,
SchemaManager schemaManager)
A constructor which takes a File and a SchemaManager.
|
LdifReader(String ldifFileName)
A constructor which takes a file name.
|
Copyright © 2003–2019 The Apache Software Foundation. All rights reserved.