Class Moe

java.lang.Object
dxt.moe.app.Moe

public abstract class Moe extends Object
  • Constructor Details

    • Moe

      public Moe()
  • Method Details

    • options

      protected abstract Moe options(Moe.Options... opts)
      Populates an instance of Moe with the given options.
      Parameters:
      opts - the options to set
      Returns:
      the Moe instance with the given options set
    • external

      public abstract External external(String format)
      Returns an instance of External for the given format.
      Parameters:
      format - the format to use
      Returns:
      an instance of External for the given format
    • internal

      public abstract Internal internal(String format)
      Returns an instance of Internal for the given format.
      Parameters:
      format - the format to use
      Returns:
      an instance of Internal for the given format
    • create

      public static Moe create()
      Creates an instance of Moe using the ServiceLoader mechanism.
      Returns:
      an instance of Moe if found, otherwise null
    • create

      public static Moe create(Moe.Options... opts)
      Creates an instance of Moe using the ServiceLoader mechanism and populates it with the given options.
      Parameters:
      opts - the options to set
      Returns:
      an instance of Moe with the given options set