Package | Description |
---|---|
org.apache.directory.shared.ldap.ldif |
Modifier and Type | Method and Description |
---|---|
static Attributes |
LdifUtils.convertAttributesFromLdif(String ldif)
Convert a LDIF String to an attributes.
|
static Attributes |
LdifUtils.createAttributes(Object... avas)
Build a new Attributes instance from a LDIF list of lines.
|
Attributes |
LdifAttributesReader.parseAttributes(String ldif)
A method which parses a ldif string and returns a list of Attributes.
|
void |
LdifReader.parseAttributeValue(LdifEntry entry,
String line,
String lowerLine)
Parse an AttributeType/AttributeValue
|
Entry |
LdifAttributesReader.parseEntry(String ldif)
A method which parses a ldif string and returns a list of Entry.
|
List<LdifEntry> |
LdifReader.parseLdif(BufferedReader reader)
The main entry point of the LdifParser.
|
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 void |
LdifReader.readLines()
Reads an entry in a ldif buffer, and returns the resulting lines, without
comments, and unfolded.
|
Constructor and Description |
---|
LdifReader(File file)
A constructor which takes a File
|
LdifReader(InputStream in)
A constructor which takes an InputStream
|
LdifReader(Reader in)
A constructor which takes a Reader
|
LdifReader(String ldifFileName)
A constructor which takes a file name
|
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.