org.apache.sshd.server.command
Class ScpCommandFactory
java.lang.Object
org.apache.sshd.server.command.ScpCommandFactory
- All Implemented Interfaces:
- CommandFactory
public class ScpCommandFactory
- extends Object
- implements CommandFactory
This CommandFactory
can be used as a standalone command factory
or can be used to augment another CommandFactory
and provides
SCP
support.
- Author:
- Apache MINA SSHD Project
- See Also:
ScpCommand
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScpCommandFactory
public ScpCommandFactory()
ScpCommandFactory
public ScpCommandFactory(CommandFactory delegate)
createCommand
public Command createCommand(String command)
- Parses a command string and verifies that the basic syntax is
correct. If parsing fails the responsibility is delegated to
the configured
CommandFactory
instance; if one exist.
- Specified by:
createCommand
in interface CommandFactory
- Parameters:
command
- command to parse
- Returns:
- configured
Command
instance
- Throws:
IllegalArgumentException
Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.