|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.cjdbc.console.text.commands.ConsoleCommand
org.objectweb.cjdbc.console.text.commands.sqlconsole.Load
This class defines a "load" sql command
| Field Summary |
| Fields inherited from class org.objectweb.cjdbc.console.text.commands.ConsoleCommand |
console, jmxClient, module |
| Constructor Summary | |
Load(VirtualDatabaseConsole module)
Creates a new Load object |
|
| Method Summary | |
java.lang.String |
getCommandDescription()
Get the description of the command |
java.lang.String |
getCommandName()
Get the name of the command |
java.lang.String |
getCommandParameters()
Return a String description of the parameters of this
command. |
void |
load(java.lang.String fileName)
Executes all the SQL requests contained in the specified file. |
void |
parse(java.lang.String commandText)
Parse the text of the command |
| Methods inherited from class org.objectweb.cjdbc.console.text.commands.ConsoleCommand |
compareTo, execute, getUsage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Load(VirtualDatabaseConsole module)
Load object
module - the command is attached to| Method Detail |
public void parse(java.lang.String commandText)
throws java.io.IOException,
ConsoleException
ConsoleCommand
parse in class ConsoleCommandcommandText - the command text
java.io.IOException
ConsoleExceptionConsoleCommand.parse(java.lang.String)public void load(java.lang.String fileName)
fileName - the file name to openpublic java.lang.String getCommandName()
ConsoleCommand
getCommandName in class ConsoleCommandString of the command nameConsoleCommand.getCommandName()public java.lang.String getCommandParameters()
ConsoleCommandString description of the parameters of this
command.
getCommandParameters in class ConsoleCommandString like <driverPathName>ConsoleCommand.getCommandParameters()public java.lang.String getCommandDescription()
ConsoleCommand
getCommandDescription in class ConsoleCommandString of the command descriptionConsoleCommand.getCommandDescription()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||