|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.ldap.name.LdapDNSerializer
public class LdapDNSerializer
A helper class which serialize and deserialize a DN
| Field Summary | |
|---|---|
protected static org.slf4j.Logger |
LOG
The LoggerFactory used by this class |
| Constructor Summary | |
|---|---|
LdapDNSerializer()
|
|
| Method Summary | |
|---|---|
static LdapDN |
deserialize(java.io.ObjectInput in)
Deserialize a DN We read back the data to create a new LdapDN. |
static void |
serialize(LdapDN dn,
java.io.ObjectOutput out)
Serialize a DN We have to store a DN data efficiently. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.slf4j.Logger LOG
| Constructor Detail |
|---|
public LdapDNSerializer()
| Method Detail |
|---|
public static void serialize(LdapDN dn,
java.io.ObjectOutput out)
throws java.io.IOException
for each rdn :
dn - The DN to serializeout - the stream in which the DN will be serialized
java.io.IOException - If we can't write in this stream
public static LdapDN deserialize(java.io.ObjectInput in)
throws java.io.IOException
serialize(LdapDN, ObjectOutput)
method
in - The input stream from which the DN is read
java.io.IOException - If the stream can't be read
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||