public class AboutSerialization extends Object
| Constructor and Description |
|---|
AboutSerialization() |
| Modifier and Type | Method and Description |
|---|---|
void |
customObjectSerialization() |
void |
customObjectSerializationWithTransientFields() |
void |
customSerializationWithUnserializableFields() |
void |
serializeWithInheritance() |
void |
serializeWithInheritanceWhenParentNotSerializable() |
void |
simpleSerialization() |
public AboutSerialization()
public void simpleSerialization() throws FileNotFoundException, IOException, ClassNotFoundException
public void customObjectSerialization() throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic void customObjectSerializationWithTransientFields() throws FileNotFoundException, IOException, ClassNotFoundException
public void customSerializationWithUnserializableFields() throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionpublic void serializeWithInheritance() throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic void serializeWithInheritanceWhenParentNotSerializable() throws FileNotFoundException, IOException, ClassNotFoundException
Copyright © 2016 Portland State University. All rights reserved.