Class JsonTodoExample

  • All Implemented Interfaces:
    Example

    public class JsonTodoExample
    extends Object
    implements Example
    Example that demonstrates fetching a Todo from JSONPlaceholder API
    • Constructor Detail

      • JsonTodoExample

        public JsonTodoExample()
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: Example
        Get the name of the example to display in the menu
        Specified by:
        getName in interface Example
        Returns:
        The example name
      • run

        public void run()
        Description copied from interface: Example
        Run the example
        Specified by:
        run in interface Example