public class LdifReader extends Object implements SearchResultReader
Reader
and returns a SearchResult
.Modifier and Type | Field and Description |
---|---|
private Reader |
ldifReader
Reader to read from.
|
private SortBehavior |
sortBehavior
Sort behavior.
|
Constructor and Description |
---|
LdifReader(Reader reader)
Creates a new ldif reader.
|
LdifReader(Reader reader,
SortBehavior sb)
Creates a new ldif reader.
|
Modifier and Type | Method and Description |
---|---|
SearchResult |
read()
Reads LDIF data from the reader and returns a search result.
|
private final Reader ldifReader
private final SortBehavior sortBehavior
public LdifReader(Reader reader)
reader
- to read LDIF frompublic LdifReader(Reader reader, SortBehavior sb)
reader
- to read LDIF fromsb
- sort behavior of the ldap resultpublic SearchResult read() throws IOException
read
in interface SearchResultReader
IOException
- if an error occurs using the readerCopyright © 2003-2019 Virginia Tech. All Rights Reserved.