Class YamlDecoder

java.lang.Object
dxt.moe.codec.yaml.YamlDecoder
All Implemented Interfaces:
dxt.moe.codec.MoeDecoder

public class YamlDecoder extends Object implements dxt.moe.codec.MoeDecoder
Author:
indroneel
  • Constructor Details

    • YamlDecoder

      public YamlDecoder()
  • Method Details

    • setSource

      public void setSource(byte[] data) throws dxt.moe.app.CodecException
      /////////////////////////////////////////////////////////////////////////////////////////////
      Specified by:
      setSource in interface dxt.moe.codec.MoeDecoder
      Throws:
      dxt.moe.app.CodecException
    • setSource

      public void setSource(InputStream input) throws dxt.moe.app.CodecException
      Specified by:
      setSource in interface dxt.moe.codec.MoeDecoder
      Throws:
      dxt.moe.app.CodecException
    • decode

      public dxt.moe.model.AnyData decode(List<dxt.moe.app.Moe.Options> options) throws dxt.moe.app.CodecException
      Specified by:
      decode in interface dxt.moe.codec.MoeDecoder
      Throws:
      dxt.moe.app.CodecException