Package org.apache.sshd.cli.client
Class SftpCommandMain.SessionCommandExecutor
- java.lang.Object
-
- org.apache.sshd.cli.client.SftpCommandMain.SessionCommandExecutor
-
- All Implemented Interfaces:
SftpCommandExecutor
,org.apache.sshd.common.NamedResource
- Enclosing class:
- SftpCommandMain
private class SftpCommandMain.SessionCommandExecutor extends java.lang.Object implements SftpCommandExecutor
-
-
Constructor Summary
Constructors Constructor Description SessionCommandExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
executeCommand(java.lang.String args, java.io.BufferedReader stdin, java.io.PrintStream stdout, java.io.PrintStream stderr)
java.lang.String
getName()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceorg.apache.sshd.common.NamedResource
-
executeCommand
public boolean executeCommand(java.lang.String args, java.io.BufferedReader stdin, java.io.PrintStream stdout, java.io.PrintStream stderr) throws java.lang.Exception
- Specified by:
executeCommand
in interfaceSftpCommandExecutor
- Throws:
java.lang.Exception
-
-