|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.io.LdifWriter
public class LdifWriter
Writes a SearchResult as LDIF to a Writer.
| Constructor Summary | |
|---|---|
LdifWriter(Writer writer)
Creates a new ldif writer. |
|
| Method Summary | |
|---|---|
protected String |
createLdif(SearchResult result)
Creates an LDIF using the supplied search result. |
protected String |
createLdifEntry(LdapEntry entry)
Creates an LDIF using the supplied ldap entry. |
protected String |
createSearchReference(SearchReference ref)
Creates an LDIF using the supplied search reference. |
void |
write(SearchResult result)
Writes the supplied search result to the writer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LdifWriter(Writer writer)
writer - to write LDIF to| Method Detail |
|---|
public void write(SearchResult result)
throws IOException
write in interface SearchResultWriterresult - search result to write
IOException - if an error occurs using the writerprotected String createLdif(SearchResult result)
result - search result
protected String createLdifEntry(LdapEntry entry)
entry - ldap entry
protected String createSearchReference(SearchReference ref)
ref - search reference
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||