Package DataHandling
Class AppointmentSerializer
java.lang.Object
DataHandling.AppointmentSerializer
- All Implemented Interfaces:
ISerializer<Appointment>
-
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
(Appointment object) Serializes the object to a String.
-
Constructor Details
-
AppointmentSerializer
public AppointmentSerializer()
-
-
Method Details
-
serialize
Description copied from interface:ISerializer
Serializes the object to a String.- Specified by:
serialize
in interfaceISerializer<Appointment>
- 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<Appointment>
- Parameters:
data
- The serialized object.- Returns:
- The deserialized object.
-