Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

org.objectweb.cjdbc.console.text.commands.controller.Connect Class Reference

Inheritance diagram for org.objectweb.cjdbc.console.text.commands.controller.Connect:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.cjdbc.console.text.commands.controller.Connect:

Collaboration graph
[legend]
List of all members.

Public Member Functions

String getCommandParameters ()
 Connect (AbstractConsoleModule module)
void parse (String commandText) throws Exception
String getCommandName ()
String getCommandDescription ()

Detailed Description

This class defines a Connect

Author:
Nicolas Modrzyk
Version:
1.0

Definition at line 37 of file Connect.java.


Constructor & Destructor Documentation

org.objectweb.cjdbc.console.text.commands.controller.Connect.Connect AbstractConsoleModule  module  ) 
 

Creates a new Connect.java object

Parameters:
module the command is attached to

Definition at line 53 of file Connect.java.

00054   {
00055     super(module);
00056   }


Member Function Documentation

String org.objectweb.cjdbc.console.text.commands.controller.Connect.getCommandDescription  )  [virtual]
 

See also:
org.objectweb.cjdbc.console.text.commands.ConsoleCommand.getCommandDescription()

Implements org.objectweb.cjdbc.console.text.commands.ConsoleCommand.

Definition at line 81 of file Connect.java.

00082   {
00083 
00084     return ConsoleTranslate.get("controller.command.connect");
00085   }

String org.objectweb.cjdbc.console.text.commands.controller.Connect.getCommandName  )  [virtual]
 

See also:
org.objectweb.cjdbc.console.text.commands.ConsoleCommand.getCommandName()

Implements org.objectweb.cjdbc.console.text.commands.ConsoleCommand.

Definition at line 72 of file Connect.java.

00073   {
00074 
00075     return "connect";
00076   }

String org.objectweb.cjdbc.console.text.commands.controller.Connect.getCommandParameters  ) 
 

See also:
org.objectweb.cjdbc.console.text.commands.ConsoleCommand.getCommandParameters()

Reimplemented from org.objectweb.cjdbc.console.text.commands.ConsoleCommand.

Definition at line 43 of file Connect.java.

00044   {
00045     return "<CJDBC URL>";
00046   }

void org.objectweb.cjdbc.console.text.commands.controller.Connect.parse String  commandText  )  throws Exception [virtual]
 

See also:
org.objectweb.cjdbc.console.text.commands.ConsoleCommand.parse(java.lang.String)

Implements org.objectweb.cjdbc.console.text.commands.ConsoleCommand.

Definition at line 61 of file Connect.java.

References org.objectweb.cjdbc.console.text.Console.getConsoleModule(), and org.objectweb.cjdbc.console.text.module.VirtualDatabaseConsole.login.

00062   {
00063     if (commandText == null)
00064       commandText = "";
00065     console.getConsoleModule().login(new String[]{commandText.trim()});
00066     console.getConsoleModule().handlePrompt();
00067   }


The documentation for this class was generated from the following file:
Generated on Mon Apr 11 22:02:45 2005 for C-JDBC by  doxygen 1.3.9.1