Class ExternalImpl

java.lang.Object
dxt.moe.lib.mod2obj.ExternalImpl
All Implemented Interfaces:
dxt.moe.app.External

public class ExternalImpl extends Object implements dxt.moe.app.External
Author:
indroneel
  • Constructor Details

    • ExternalImpl

      public ExternalImpl(dxt.moe.codec.MoeCodec codec, List<dxt.moe.app.Moe.Options> options)
  • Method Details

    • from

      public dxt.moe.app.External from(InputStream in) throws dxt.moe.app.MoeException
      /////////////////////////////////////////////////////////////////////////////////////////////
      Specified by:
      from in interface dxt.moe.app.External
      Throws:
      dxt.moe.app.MoeException
    • from

      public dxt.moe.app.External from(byte[] data) throws dxt.moe.app.MoeException
      Specified by:
      from in interface dxt.moe.app.External
      Throws:
      dxt.moe.app.MoeException
    • hasPath

      public boolean hasPath(String path)
      Specified by:
      hasPath in interface dxt.moe.app.External
    • getModel

      public dxt.moe.model.AnyData getModel()
      Specified by:
      getModel in interface dxt.moe.app.External
    • convert

      public <T> T convert(Class<T> type) throws dxt.moe.app.MoeException
      Specified by:
      convert in interface dxt.moe.app.External
      Throws:
      dxt.moe.app.MoeException
    • convert

      public <T> T convert(String path, Class<T> type) throws dxt.moe.app.MoeException
      Specified by:
      convert in interface dxt.moe.app.External
      Throws:
      dxt.moe.app.MoeException