public class DefaultMarshaller extends Object implements Marshaller<Object>
Modifier and Type | Field and Description |
---|---|
static DefaultMarshaller |
INSTANCE |
Constructor and Description |
---|
DefaultMarshaller() |
Modifier and Type | Method and Description |
---|---|
Object |
deserialize(byte[] bytes) |
byte[] |
serialize(Object object) |
public static final DefaultMarshaller INSTANCE
public DefaultMarshaller()
public byte[] serialize(Object object) throws IOException
serialize
in interface Marshaller<Object>
IOException
public Object deserialize(byte[] bytes) throws IOException
deserialize
in interface Marshaller<Object>
IOException
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.