|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.api.ldap.util.JndiUtils
public final class JndiUtils
An utility class to convert back and forth JNDI classes to ADS classes.
| Method Summary | |
|---|---|
static Control |
fromJndiControl(LdapApiService codec,
Control jndiControl)
|
static Control[] |
fromJndiControls(LdapApiService codec,
Control... jndiControls)
|
static Dn |
fromName(Name name)
Convert a Name to a Dn |
static Control |
toJndiControl(LdapApiService codec,
Control control)
|
static Control[] |
toJndiControls(LdapApiService codec,
Control... controls)
|
static Name |
toName(Dn dn)
Convert a Dn to a Name |
static void |
wrap(Throwable t)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Control toJndiControl(LdapApiService codec,
Control control)
throws EncoderException
EncoderException
public static Control[] toJndiControls(LdapApiService codec,
Control... controls)
throws EncoderException
EncoderException
public static Control fromJndiControl(LdapApiService codec,
Control jndiControl)
throws DecoderException
DecoderException
public static Control[] fromJndiControls(LdapApiService codec,
Control... jndiControls)
throws DecoderException
DecoderException
public static void wrap(Throwable t)
throws NamingException
NamingExceptionpublic static Name toName(Dn dn)
Name
name - The Dn to convert
public static Dn fromName(Name name)
Name to a Dn
name - The Name to convert
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||