Package DataHandling
Class ContactInfoSerializer
java.lang.Object
DataHandling.ContactInfoSerializer
- All Implemented Interfaces:
ISerializer<ContactInfo>
-
Field Summary
Fields inherited from interface DataHandling.ISerializer
SEPARATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(String data) Deserializes the String to an object.serialize
(ContactInfo object) Serializes the object to a String.
-
Constructor Details
-
ContactInfoSerializer
public ContactInfoSerializer()
-
-
Method Details
-
serialize
Description copied from interface:ISerializer
Serializes the object to a String.- Specified by:
serialize
in interfaceISerializer<ContactInfo>
- Parameters:
object
- The object to serialize.- Returns:
- The serialized object.
-
deserialize
Description copied from interface:ISerializer
Deserializes the String to an object.- Specified by:
deserialize
in interfaceISerializer<ContactInfo>
- Parameters:
data
- The serialized object.- Returns:
- The deserialized object.
-