|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.vt.middleware.ldap.ldif.LdifResultConverter
public class LdifResultConverter
LdifResultConverter provides utility methods for converting
LdapResult to and from LDIF in string format.
| Field Summary | |
|---|---|
protected LdapBeanFactory |
beanFactory
Ldap bean factory. |
protected org.apache.commons.logging.Log |
logger
Log for this class. |
| Constructor Summary | |
|---|---|
LdifResultConverter()
|
|
| Method Summary | |
|---|---|
LdapResult |
fromLdif(String ldif)
This reads any entries in the supplied LDIF into this
LdifResult. |
LdapBeanFactory |
getLdapBeanFactory()
Returns the factory for creating ldap beans. |
void |
setLdapBeanFactory(LdapBeanFactory lbf)
Sets the factory for creating ldap beans. |
String |
toLdif(LdapResult result)
This returns this LdifResult as LDIF. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.apache.commons.logging.Log logger
protected LdapBeanFactory beanFactory
| Constructor Detail |
|---|
public LdifResultConverter()
| Method Detail |
|---|
public LdapBeanFactory getLdapBeanFactory()
LdapBeanFactorypublic void setLdapBeanFactory(LdapBeanFactory lbf)
lbf - LdapBeanFactorypublic String toLdif(LdapResult result)
LdifResult as LDIF.
result - LdapResult to convert
Stringpublic LdapResult fromLdif(String ldif)
LdifResult.
ldif - String to read
LdapResult
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||