public class ScpCommandFactory extends Object implements 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(CommandFactory delegate) |
Modifier and Type | Method and Description |
---|---|
Command |
createCommand(String command)
Parses a command string and verifies that the basic syntax is
correct.
|
public ScpCommandFactory()
public ScpCommandFactory(CommandFactory delegate)
public Command createCommand(String command)
CommandFactory
instance; if one exist.createCommand
in interface CommandFactory
command
- command to parseCommand
instanceIllegalArgumentException
Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.