Class YamlEncoder

java.lang.Object
dxt.moe.codec.yaml.YamlEncoder
All Implemented Interfaces:
dxt.moe.codec.MoeEncoder

public class YamlEncoder extends Object implements dxt.moe.codec.MoeEncoder
Author:
indroneel
  • Constructor Details

    • YamlEncoder

      public YamlEncoder()
  • Method Details

    • convert

      public byte[] convert(dxt.moe.model.AnyData data) throws dxt.moe.app.CodecException
      /////////////////////////////////////////////////////////////////////////////////////////////
      Specified by:
      convert in interface dxt.moe.codec.MoeEncoder
      Throws:
      dxt.moe.app.CodecException
    • convert

      public byte[] convert(dxt.moe.model.AnyData data, boolean pretty) throws dxt.moe.app.CodecException
      Specified by:
      convert in interface dxt.moe.codec.MoeEncoder
      Throws:
      dxt.moe.app.CodecException