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

com.eshore.cli.DefaultCli Maven / Gradle / Ivy

There is a newer version: 1.2.8
Show newest version
package com.eshore.cli;


public class DefaultCli implements CommandLine {

	@Override
	public boolean accept(String name) {
		// TODO Auto-generated method stub
		return "default".equalsIgnoreCase(name);
	}

	@Override
	public boolean exe(String[] args) {
		System.out.println("default");
		System.out.println(DefaultCli.class.getProtectionDomain().getCodeSource().getLocation().getFile());
		return true;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy