src/org/objectweb/cjdbc/console/text/commands/controller/Connect.java

説明を見る。
00001 00025 package org.objectweb.cjdbc.console.text.commands.controller; 00026 00027 import org.objectweb.cjdbc.common.i18n.ConsoleTranslate; 00028 import org.objectweb.cjdbc.console.text.commands.ConsoleCommand; 00029 import org.objectweb.cjdbc.console.text.module.AbstractConsoleModule; 00030 00037 public class Connect extends ConsoleCommand 00038 { 00039 00043 public String getCommandParameters() 00044 { 00045 return "<CJDBC URL>"; 00046 } 00047 00053 public Connect(AbstractConsoleModule module) 00054 { 00055 super(module); 00056 } 00057 00061 public void parse(String commandText) throws Exception 00062 { 00063 if (commandText == null) 00064 commandText = ""; 00065 console.getConsoleModule().login(new String[]{commandText.trim()}); 00066 console.getConsoleModule().handlePrompt(); 00067 } 00068 00072 public String getCommandName() 00073 { 00074 00075 return "connect"; 00076 } 00077 00081 public String getCommandDescription() 00082 { 00083 00084 return ConsoleTranslate.get("controller.command.connect"); 00085 } 00086 00087 }

CJDBCversion1.0.4に対してTue Oct 12 15:15:59 2004に生成されました。 doxygen 1.3.8