Class EventDeserializerImpl
java.lang.Object
application.presenter.event.serialization.EventDeserializerImpl
- All Implemented Interfaces:
EventDeserializer
Implementation of the
EventDeserializer
interface that allows an event to be
deserialized from String.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromString
(String eventKey, String event) Deserialize an event from string.
-
Constructor Details
-
EventDeserializerImpl
public EventDeserializerImpl()Default constructor.
-
-
Method Details
-
fromString
Description copied from interface:EventDeserializer
Deserialize an event from string.- Specified by:
fromString
in interfaceEventDeserializer
- Parameters:
eventKey
- the key of the event.event
- the event in string format.- Returns:
- the deserialized event as an optional.
-