Package dev.enola.common.protobuf
Class YamlJsonResourceConverter
java.lang.Object
dev.enola.common.protobuf.YamlJsonResourceConverter
- All Implemented Interfaces:
CatchingConverterInto<ReadableResource,,WritableResource> ConverterInto<ReadableResource,,WritableResource> CatchingResourceConverter,ResourceConverter
Utility to convert YAML ⇔ JSON
Resources.- See Also:
-
Constructor Summary
Constructors -
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
-
YamlJsonResourceConverter
public YamlJsonResourceConverter()
-
-
Method Details
-
convertIntoThrows
public boolean convertIntoThrows(ReadableResource from, WritableResource into) throws IOException, ConversionException - Specified by:
convertIntoThrowsin interfaceCatchingConverterInto<ReadableResource,WritableResource> - Throws:
IOExceptionConversionException
-