|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.name.AVASerializer
public class AVASerializer
A helper class which serialize and deserialize an AttributeTypeAndValue
Field Summary | |
---|---|
protected static org.slf4j.Logger |
LOG
The LoggerFactory used by this class |
Constructor Summary | |
---|---|
AVASerializer()
|
Method Summary | |
---|---|
static AVA |
deserialize(java.io.ObjectInput in)
Deserialize an AttributeTypeAndValue object We read back the data to create a new ATAV. |
static void |
serialize(AVA atav,
java.io.ObjectOutput out)
Serialize an AttributeTypeAndValue object. |
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 AVASerializer()
Method Detail |
---|
public static void serialize(AVA atav, java.io.ObjectOutput out) throws java.io.IOException
if the value is a String :
if the value is binary :
atav
- the AttributeTypeAndValue to serializeout
- the OutputStream in which the atav will be serialized
java.io.IOException
- If we can't serialize the atavpublic static AVA deserialize(java.io.ObjectInput in) throws java.io.IOException
AVA.writeExternal(ObjectOutput)
method
in
- the input stream
java.io.IOException
- If the input stream can't be read
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |