All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kg.apc.cmdtools.HelloWorldTool Maven / Gradle / Ivy

There is a newer version: 2.3
Show newest version
package kg.apc.cmdtools;

import java.io.PrintStream;
import java.util.ListIterator;

/**
 *
 * @author undera
 */
public class HelloWorldTool extends AbstractCMDTool {

    protected int processParams(ListIterator args) throws UnsupportedOperationException, IllegalArgumentException {
        System.out.println("Hello, World!");
        return 0;
    }

    protected void showHelp(PrintStream os) {
        os.println("This tool just prints 'Hello, World!'");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy