org.objectweb.cjdbc.console.text.commands.sqlconsole
Class ShowTables
java.lang.Object
org.objectweb.cjdbc.console.text.commands.ConsoleCommand
org.objectweb.cjdbc.console.text.commands.sqlconsole.ShowTables
- All Implemented Interfaces:
- java.lang.Comparable
- public class ShowTables
- extends ConsoleCommand
This class defines a ShowTables
- Author:
- Jeff Mesnil
Method Summary |
java.lang.String |
getCommandDescription()
Get the description of the command |
java.lang.String |
getCommandName()
Get the name of the command |
private java.lang.String[][] |
getTableNamesAsCells(java.util.ArrayList tableNames)
|
void |
parse(java.lang.String commandText)
Parse the text of the command |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShowTables
public ShowTables(AbstractConsoleModule module)
- Creates a new
Quit.java
object
- Parameters:
module
- the command is attached to
parse
public void parse(java.lang.String commandText)
throws java.io.IOException,
ConsoleException
- Description copied from class:
ConsoleCommand
- Parse the text of the command
- Specified by:
parse
in class ConsoleCommand
- Parameters:
commandText
- the command text
- Throws:
java.io.IOException
ConsoleException
- See Also:
ConsoleCommand.parse(java.lang.String)
getTableNamesAsCells
private java.lang.String[][] getTableNamesAsCells(java.util.ArrayList tableNames)
getCommandName
public java.lang.String getCommandName()
- Description copied from class:
ConsoleCommand
- Get the name of the command
- Specified by:
getCommandName
in class ConsoleCommand
- Returns:
String
of the command name- See Also:
ConsoleCommand.getCommandName()
getCommandDescription
public java.lang.String getCommandDescription()
- Description copied from class:
ConsoleCommand
- Get the description of the command
- Specified by:
getCommandDescription
in class ConsoleCommand
- Returns:
String
of the command description- See Also:
ConsoleCommand.getCommandDescription()
Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.