|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.cjdbc.console.text.commands.ConsoleCommand org.objectweb.cjdbc.console.text.commands.controller.AddDriver
This class defines a AddDriver
Field Summary |
Fields inherited from class org.objectweb.cjdbc.console.text.commands.ConsoleCommand |
console, jmxClient, module |
Constructor Summary | |
AddDriver(AbstractConsoleModule module)
Creates a new AddDriver.java 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 |
parse(java.lang.String commandText)
Parse the text of the command |
private byte[] |
readDriver(java.lang.String filename)
|
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 AddDriver(AbstractConsoleModule module)
AddDriver.java
object
module
- the command is attached toMethod Detail |
public void parse(java.lang.String commandText) throws java.io.IOException, ConsoleException
ConsoleCommand
parse
in class ConsoleCommand
commandText
- the command text
java.io.IOException
ConsoleException
ConsoleCommand.parse(java.lang.String)
private byte[] readDriver(java.lang.String filename) throws java.io.FileNotFoundException, java.io.IOException
java.io.FileNotFoundException
java.io.IOException
public java.lang.String getCommandName()
ConsoleCommand
getCommandName
in class ConsoleCommand
String
of the command nameConsoleCommand.getCommandName()
public java.lang.String getCommandDescription()
ConsoleCommand
getCommandDescription
in class ConsoleCommand
String
of the command descriptionConsoleCommand.getCommandDescription()
public java.lang.String getCommandParameters()
ConsoleCommand
String
description of the parameters of this
command.
getCommandParameters
in class ConsoleCommand
String
like <driverPathName>ConsoleCommand.getCommandParameters()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |