Package dev.enola.common.protobuf
Class MessageResourceConverter
java.lang.Object
dev.enola.common.protobuf.MessageResourceConverter
- All Implemented Interfaces:
CatchingConverterInto<ReadableResource,,WritableResource> ConverterInto<ReadableResource,,WritableResource> CatchingResourceConverter,ResourceConverter
Converts Resources containing Protocol Buffer messages using the
ProtoIO utility.-
Constructor Summary
ConstructorsConstructorDescriptionMessageResourceConverter(ProtoIO protoIO, DescriptorProvider descriptorProvider) -
Method Summary
Modifier and TypeMethodDescriptionbooleanconvertIntoThrows(ReadableResource from, WritableResource into) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.enola.common.convert.CatchingConverterInto
convertIntoMethods inherited from interface dev.enola.common.convert.ConverterInto
convertIntoOrThrow
-
Constructor Details
-
MessageResourceConverter
-
-
Method Details
-
convertIntoThrows
- Specified by:
convertIntoThrowsin interfaceCatchingConverterInto<ReadableResource,WritableResource> - Throws:
IOException
-