public class ScpCommandFactory extends Object implements org.apache.sshd.server.CommandFactory
CommandFactory
can be used as a standalone command factory
or can be used to augment another CommandFactory
and provides
SCP
support.ScpCommand
Constructor and Description |
---|
ScpCommandFactory() |
ScpCommandFactory(org.apache.sshd.server.CommandFactory delegate) |
Modifier and Type | Method and Description |
---|---|
org.apache.sshd.server.Command |
createCommand(String command)
Parses a command string and verifies that the basic syntax is
correct.
|
public ScpCommandFactory()
public ScpCommandFactory(org.apache.sshd.server.CommandFactory delegate)
public org.apache.sshd.server.Command createCommand(String command)
CommandFactory
instance; if one exist.createCommand
in interface org.apache.sshd.server.CommandFactory
command
- command to parseCommand
instanceIllegalArgumentException
Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.