|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.name.RdnSerializer
public class RdnSerializer
A helper class which serialize and deserialize a RDN
Field Summary | |
---|---|
protected static org.slf4j.Logger |
LOG
The LoggerFactory used by this class |
Constructor Summary | |
---|---|
RdnSerializer()
|
Method Summary | |
---|---|
static RDN |
deserialize(java.io.ObjectInput in)
Deserialize a RDN instance We read back the data to create a new RDB. |
static void |
serialize(RDN rdn,
java.io.ObjectOutput out)
Serialize a RDN instance A RDN is composed of on to many ATAVs (AttributeType And Value). |
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 RdnSerializer()
Method Detail |
---|
public static void serialize(RDN rdn, java.io.ObjectOutput out) throws java.io.IOException
For each ATAV :
rdn
- The RDN to serializeout
- the stream in which the RDN will be serialized
java.io.IOException
- If we can't write in this streampublic static RDN deserialize(java.io.ObjectInput in) throws java.io.IOException
RDN.writeExternal(ObjectOutput)
method
in
- The input stream from which the RDN 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 |