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(org.apache.commons.cli.CommandLine cmd)
Execute the command |
org.apache.commons.cli.Options |
getOptions()
|
Methods inherited from class org.apache.directory.server.tools.ToolCommand |
getConfiguration, getLayout, getName, getVersion, isDebugEnabled, isQuietEnabled, isVerboseEnabled, setConfiguration, setDebugEnabled, setLayout, 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
- See Also:
- Constant Field Values
ImportCommand
protected ImportCommand()
- The constructor save the command's name into it's super class
execute
public void execute(org.apache.commons.cli.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 org.apache.commons.cli.Options getOptions()
- Specified by:
getOptions
in class ToolCommand
Copyright © 2003-2010 Apache Software Foundation. All Rights Reserved.