public class DnSerializer extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG
The LoggerFactory used by this class
|
Constructor and Description |
---|
DnSerializer() |
Modifier and Type | Method and Description |
---|---|
static DN |
deserialize(ObjectInput in)
Deserialize a DN
We read back the data to create a new DN.
|
static void |
serialize(DN dn,
ObjectOutput out)
Serialize a DN
We have to store a DN data efficiently.
|
public static void serialize(DN dn, ObjectOutput out) throws IOException
for each rdn :
dn
- The DN to serializeout
- the stream in which the DN will be serializedIOException
- If we can't write in this streampublic static DN deserialize(ObjectInput in) throws IOException
serialize(DN, ObjectOutput)
methodin
- The input stream from which the DN is readIOException
- If the stream can't be readCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.