public class PersonSerializer extends Object implements com.tangosol.io.pof.PofSerializer
| Constructor and Description |
|---|
PersonSerializer()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(com.tangosol.io.pof.PofReader in)
Deserialize a Person object.
|
void |
serialize(com.tangosol.io.pof.PofWriter out,
Object o)
Serialize a Person object.
|
public void serialize(com.tangosol.io.pof.PofWriter out,
Object o)
throws IOException
serialize in interface com.tangosol.io.pof.PofSerializerout - The PofWriter to write too - The Person object to writeIOException - if the object o is not a Personpublic Object deserialize(com.tangosol.io.pof.PofReader in) throws IOException
deserialize in interface com.tangosol.io.pof.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, 2013 Oracle and/or its affiliates. All rights reserved.