Package org.apache.sshd.cli.client
Class SftpCommandMain.CdCommandExecutor
- java.lang.Object
-
- org.apache.sshd.cli.client.SftpCommandMain.PwdCommandExecutor
-
- org.apache.sshd.cli.client.SftpCommandMain.CdCommandExecutor
-
- All Implemented Interfaces:
SftpCommandExecutor
,org.apache.sshd.common.NamedResource
- Enclosing class:
- SftpCommandMain
private class SftpCommandMain.CdCommandExecutor extends SftpCommandMain.PwdCommandExecutor
-
-
Constructor Summary
Constructors Constructor Description CdCommandExecutor()
-
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
- Overrides:
getName
in classSftpCommandMain.PwdCommandExecutor
-
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
- Overrides:
executeCommand
in classSftpCommandMain.PwdCommandExecutor
- Throws:
java.lang.Exception
-
-