Package | Description |
---|---|
org.apache.directory.api.ldap.model.ldif |
Modifier and Type | Method and Description |
---|---|
static Attributes |
LdifUtils.getJndiAttributesFromLdif(String ldif)
Convert a LDIF String to a JNDI attributes.
|
Attributes |
LdifAttributesReader.parseAttributes(String ldif)
A method which parses a ldif string and returns a list of Attributes.
|
protected String |
LdifReader.parseDn(String line)
Parse the Dn of an entry
|
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.
|
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
|
protected Object |
LdifReader.parseValue(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(String ldifFileName)
A constructor which takes a file name
|
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.