1 22 23 package org.continuent.sequoia.console.text.commands; 24 25 import java.io.IOException ; 26 27 import org.continuent.sequoia.common.i18n.ConsoleTranslate; 28 import org.continuent.sequoia.console.text.ConsoleException; 29 import org.continuent.sequoia.console.text.module.AbstractConsoleModule; 30 31 37 public class Help extends ConsoleCommand 38 { 39 40 45 public Help(AbstractConsoleModule module) 46 { 47 super(module); 48 } 49 52 public void parse(String commandText) throws IOException , ConsoleException 53 { 54 module.help(); 55 } 56 57 60 public String getCommandName() 61 { 62 return "help"; } 64 65 68 public String getCommandDescription() 69 { 70 return ConsoleTranslate.get("console.command.help"); } 72 73 76 public void execute(String commandText) throws Exception 77 { 78 this.parse(commandText); 79 } 80 81 } 82 | Popular Tags |