public class DnSerializer extends Object implements jdbm.helper.Serializer
| Constructor and Description |
|---|
DnSerializer(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
Creates a new instance of DnSerializer.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(byte[] bytes)
Deserialize a Dn.
|
byte[] |
serialize(Object object)
This is the place where we serialize Dn
|
public DnSerializer(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
schemaManager - The reference to the global schemaManagerpublic byte[] serialize(Object object) throws IOException
serialize in interface jdbm.helper.Serializerobject - The element to serializeIOException - If teh serialization failedpublic Object deserialize(byte[] bytes) throws IOException
deserialize in interface jdbm.helper.Serializerbytes - the byte array containing the serialized DnIOException - if we can't deserialize the DnCopyright © 2003–2023 The Apache Software Foundation. All rights reserved.