Class SftpCommandMain.PwdCommandExecutor

    • Field Summary

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

        BY_NAME_COMPARATOR, NAME_EXTRACTOR
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected PwdCommandExecutor()  
    • 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()  
      • Methods inherited from class java.lang.Object

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

      • PwdCommandExecutor

        protected PwdCommandExecutor()
    • 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