public class AVASerializer extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG
The LoggerFactory used by this class
|
Constructor and Description |
---|
AVASerializer() |
Modifier and Type | Method and Description |
---|---|
static AVA |
deserialize(ObjectInput in)
Deserialize an AttributeTypeAndValue object
We read back the data to create a new ATAV.
|
static void |
serialize(AVA atav,
ObjectOutput out)
Serialize an AttributeTypeAndValue object.
|
public static void serialize(AVA atav, ObjectOutput out) throws 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 serializedIOException
- If we can't serialize the atavpublic static AVA deserialize(ObjectInput in) throws IOException
AVA.writeExternal(ObjectOutput)
methodin
- the input streamIOException
- If the input stream can't be readCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.