public class RdnSerializer extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG
The LoggerFactory used by this class
|
Constructor and Description |
---|
RdnSerializer() |
Modifier and Type | Method and Description |
---|---|
static RDN |
deserialize(ObjectInput in)
Deserialize a RDN instance
We read back the data to create a new RDB.
|
static void |
serialize(RDN rdn,
ObjectOutput out)
Serialize a RDN instance
A RDN is composed of on to many ATAVs (AttributeType And Value).
|
public static void serialize(RDN rdn, ObjectOutput out) throws IOException
For each ATAV :
rdn
- The RDN to serializeout
- the stream in which the RDN will be serializedIOException
- If we can't write in this streampublic static RDN deserialize(ObjectInput in) throws IOException
RDN.writeExternal(ObjectOutput)
methodin
- The input stream from which the RDN is readIOException
- If the stream can't be readCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.