1 24 25 package org.objectweb.cjdbc.console.text.commands; 26 27 import java.io.IOException ; 28 29 import org.objectweb.cjdbc.common.i18n.ConsoleTranslate; 30 import org.objectweb.cjdbc.console.text.ConsoleException; 31 import org.objectweb.cjdbc.console.text.module.AbstractConsoleModule; 32 33 39 public class Help extends ConsoleCommand 40 { 41 42 47 public Help(AbstractConsoleModule module) 48 { 49 super(module); 50 } 51 54 public void parse(String commandText) throws IOException , ConsoleException 55 { 56 module.help(); 57 } 58 59 62 public String getCommandName() 63 { 64 return "help"; 65 } 66 67 70 public String getCommandDescription() 71 { 72 return ConsoleTranslate.get("console.command.help"); 73 } 74 75 78 public void execute(String commandText) throws Exception 79 { 80 this.parse(commandText); 81 } 82 83 } 84 | Popular Tags |