Interface InputTypeTranslator<T,S>
- Type Parameters:
T- the target typeS- the source type
- All Known Subinterfaces:
Serializer<T>,TypeTranslator<S,T>
- All Known Implementing Classes:
AlertSerializer,ByteArraySerializer,GenericJsonSerializer,GenericJsonToStringTranslator,StatusMessageSerializer,StringSerializer,TraceRecordSerializer
public interface InputTypeTranslator<T,S>
Defines a type translator between two given types. Translation may imply a loss or augmentation of information.
- Author:
- Holger Eichelberger, SSE
-
Method Summary
-
Method Details
-
from
Deserializes a target value into a source value ("input from external").- Parameters:
data- the data to be translated back- Returns:
- the serialized object
- Throws:
IOException- in case that serialization fails
-