|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.ldap.name.AtavSerializer
public class AtavSerializer
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 | |
|---|---|
AtavSerializer()
|
|
| Method Summary | |
|---|---|
static AttributeTypeAndValue |
deserialize(java.io.ObjectInput in)
Deserialize an AttributeTypeAndValue object We read back the data to create a new ATAV. |
static void |
serialize(AttributeTypeAndValue 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 AtavSerializer()
| Method Detail |
|---|
public static void serialize(AttributeTypeAndValue 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 atav
public static AttributeTypeAndValue deserialize(java.io.ObjectInput in)
throws java.io.IOException
AttributeTypeAndValue.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 | |||||||||