Class SftpCommandMain.LlsCommandExecutor
java.lang.Object
org.apache.sshd.cli.client.SftpCommandMain.LlsCommandExecutor
- All Implemented Interfaces:
SftpCommandExecutor, org.apache.sshd.common.NamedResource
- Enclosing class:
SftpCommandMain
-
Field Summary
Fields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddisplayLocalPathInfo(Path path, PrintStream stdout) booleanexecuteCommand(String args, BufferedReader stdin, PrintStream stdout, PrintStream stderr) getName()
-
Constructor Details
-
LlsCommandExecutor
LlsCommandExecutor()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceorg.apache.sshd.common.NamedResource
-
executeCommand
public boolean executeCommand(String args, BufferedReader stdin, PrintStream stdout, PrintStream stderr) throws Exception - Specified by:
executeCommandin interfaceSftpCommandExecutor- Throws:
Exception
-
displayLocalPathInfo
- Throws:
IOException
-