Class SftpCommandMain.LlsCommandExecutor

    • Field Summary

      • Fields inherited from interface org.apache.sshd.common.NamedResource

        BY_NAME_COMPARATOR, NAME_EXTRACTOR
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void displayLocalPathInfo​(java.nio.file.Path path, java.io.PrintStream stdout)  
      boolean executeCommand​(java.lang.String args, java.io.BufferedReader stdin, java.io.PrintStream stdout, java.io.PrintStream stderr)  
      java.lang.String getName()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LlsCommandExecutor

        LlsCommandExecutor()
    • Method Detail

      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface org.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 interface SftpCommandExecutor
        Throws:
        java.lang.Exception
      • displayLocalPathInfo

        protected void displayLocalPathInfo​(java.nio.file.Path path,
                                            java.io.PrintStream stdout)
                                     throws java.io.IOException
        Throws:
        java.io.IOException