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

org.objectweb.cjdbc.console.text.commands.Quit Class Reference

Inheritance diagram for org.objectweb.cjdbc.console.text.commands.Quit:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Quit (AbstractConsoleModule module)
void parse (String commandText) throws IOException, ConsoleException
String getCommandName ()
String getCommandDescription ()
void execute (String commandText) throws Exception

Detailed Description

This class defines a Quit

Author:
Nicolas Modrzyk
Version:
1.0

Definition at line 39 of file Quit.java.


Constructor & Destructor Documentation

org.objectweb.cjdbc.console.text.commands.Quit.Quit AbstractConsoleModule  module  ) 
 

Creates a new Quit.java object

Parameters:
module the command is attached to

Definition at line 47 of file Quit.java.

00048   {
00049     super(module);
00050   }


Member Function Documentation

void org.objectweb.cjdbc.console.text.commands.Quit.execute String  commandText  )  throws Exception
 

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

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

Definition at line 79 of file Quit.java.

00080   {
00081     this.parse(commandText);
00082   }

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

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

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

Definition at line 71 of file Quit.java.

00072   {
00073     return ConsoleTranslate.get("console.command.quit");
00074   }

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

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

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

Definition at line 63 of file Quit.java.

00064   {
00065     return "quit";
00066   }

void org.objectweb.cjdbc.console.text.commands.Quit.parse String  commandText  )  throws IOException, ConsoleException [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 55 of file Quit.java.

References org.objectweb.cjdbc.console.text.module.AbstractConsoleModule.quit.

00056   {
00057     module.quit();
00058   }


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