Package net.eldiosantos.command.core

Examples of net.eldiosantos.command.core.Interpreter


  public static void main(String[] args) {
    String cmd;

    Scanner sc = new Scanner(System.in);

    Interpreter interpreter = new Interpreter(new File("/"));

    System.out.println("Console started...");

    do {
      System.out.print("shell: ");
      cmd = sc.nextLine();

      interpreter.parseCommand(cmd);

    } while (!cmd.equals("exit"));
  }
View Full Code Here

TOP

Related Classes of net.eldiosantos.command.core.Interpreter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.