org.apache.directory.server.tools
Class ImportCommand
java.lang.Object
org.apache.directory.server.tools.ToolCommand
org.apache.directory.server.tools.ImportCommand
- public class ImportCommand
- extends ToolCommand
A command to import data into a server. The data to be imported must be
stored in a Ldif File, and they could be added entries or modified entries.
- Version:
- $Rev: 406112 $
- Author:
- Apache Directory Project
Constructor Summary |
protected |
ImportCommand()
The constructor save the command's name into it's super class |
Method Summary |
void |
execute(CommandLine cmd)
Execute the command |
Options |
getOptions()
|
Methods inherited from class org.apache.directory.server.tools.ToolCommand |
getConfiguration, getLayout, getName, getVersion, isDebugEnabled, isQuietEnabled, isVerboseEnabled, setConfiguration, setDebugEnabled, setLayout, setLayout, setQuietEnabled, setVerboseEnabled, setVersion, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PORT_RANGE
public static final java.lang.String PORT_RANGE
ImportCommand
protected ImportCommand()
- The constructor save the command's name into it's super class
execute
public void execute(CommandLine cmd)
throws java.lang.Exception
- Execute the command
- Specified by:
execute
in class ToolCommand
- Parameters:
cmd
- The command to be executed
- Throws:
java.lang.Exception
getOptions
public Options getOptions()
- Specified by:
getOptions
in class ToolCommand