Package com.antimatterstudios.esftp

Examples of com.antimatterstudios.esftp.Transfer


    m_output.setText("<Testing SFTP Site>\nPlease Wait....\n");
    m_output.update();
   
    m_userInterface.updateStore();
    TransferDetails details = new TransferDetails(m_userInterface.getPreferences());
    Transfer transfer = Activator.getDefault().getTransfer(details.getProtocol());
    if(transfer != null){
      System.out.println("TI::test(), Transfer class = "+transfer.getClass().getName());
      transfer.init(details);
     
      try{
        System.out.println("TI::test(), calling test");
        m_userInterface.setVerified(transfer.test());
      }catch(NullPointerException e){
        System.out.println("NPE detected whilst testing and verifying the esftp details");
        System.out.println("TI::test(), NPE caught");
      }
      System.out.println("TI::test(), outputting everything");
      m_output.append( transfer.getTransferOuput() );
      System.out.println("TI::test(), test completed");
    }else System.out.println("transfer object was null");
  }
View Full Code Here

TOP

Related Classes of com.antimatterstudios.esftp.Transfer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.