|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ftpserver.command.impl.DefaultCommandFactory
public class DefaultCommandFactory
Internal class, do not use directly. Command factory to return appropriate command implementation depending on the FTP request command string. Internal class, do not use directly.
Constructor Summary | |
---|---|
DefaultCommandFactory(java.util.Map<java.lang.String,Command> commandMap)
Internal constructor, use CommandFactoryFactory instead |
Method Summary | |
---|---|
Command |
getCommand(java.lang.String cmdName)
Get command. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultCommandFactory(java.util.Map<java.lang.String,Command> commandMap)
CommandFactoryFactory
instead
Method Detail |
---|
public Command getCommand(java.lang.String cmdName)
getCommand
in interface CommandFactory
cmdName
- The name of the command to create
Command
matching the provided name, or
null if no such command exists.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |