Package dev.enola.thing.message
Class MessageToThingConverter
java.lang.Object
dev.enola.thing.message.MessageToThingConverter
- All Implemented Interfaces:
Converter<MessageWithIRI,
dev.enola.thing.proto.Thing.Builder>
public class MessageToThingConverter
extends Object
implements Converter<MessageWithIRI,dev.enola.thing.proto.Thing.Builder>
-
Constructor Summary
ConstructorsConstructorDescriptionMessageToThingConverter
(OptionalConverter<Object, dev.enola.thing.proto.Value.Builder> converter) -
Method Summary
Modifier and TypeMethodDescriptiondev.enola.thing.proto.Thing.Builder
convert
(MessageWithIRI messageWithIRI)
-
Constructor Details
-
MessageToThingConverter
public MessageToThingConverter(OptionalConverter<Object, dev.enola.thing.proto.Value.Builder> converter) -
MessageToThingConverter
public MessageToThingConverter()
-
-
Method Details
-
convert
public dev.enola.thing.proto.Thing.Builder convert(MessageWithIRI messageWithIRI) throws ConversionException - Specified by:
convert
in interfaceConverter<MessageWithIRI,
dev.enola.thing.proto.Thing.Builder> - Throws:
ConversionException
-