public class PersonSerializer extends Object implements PofSerializer
| Constructor and Description |
|---|
PersonSerializer()
Default constructor
|
public void serialize(PofWriter out, Object o) throws IOException
serialize in interface PofSerializerout - The PofWriter to write too - The Person object to writeIOException - if the object o is not a Personpublic Object deserialize(PofReader in) throws IOException
deserialize in interface PofSerializerin - The PofReader to read fromIOException - if the stream does not contain the serialization
of a Person object in an expected version.Copyright (c) 2011, 2014 Oracle and/or its affiliates. All rights reserved.