com.intel.gpe.client2.common.transfers.sftp
Class SftpFileImportImpl

java.lang.Object
  extended by com.intel.gpe.client2.common.transfers.sftp.SftpFileImportImpl
All Implemented Interfaces:
FileImport

public class SftpFileImportImpl
extends java.lang.Object
implements FileImport


Constructor Summary
SftpFileImportImpl(com.intel.gpe.clients.api.StorageClient storage)
           
 
Method Summary
 java.lang.String getName()
          Get the name of the protocol.
 void putFile(GPESecurityManager secMgr, java.io.InputStream is, java.lang.String remoteFile)
          Deprecated. 
 void putFile(java.lang.Object secMgr, java.io.InputStream is, java.lang.String remoteFile, FileTransferProgressListener progress)
          Put file to remote location.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SftpFileImportImpl

public SftpFileImportImpl(com.intel.gpe.clients.api.StorageClient storage)
Method Detail

getName

public java.lang.String getName()
Description copied from interface: FileImport
Get the name of the protocol.

Specified by:
getName in interface FileImport
Returns:
the name of the protocol

putFile

public void putFile(java.lang.Object secMgr,
                    java.io.InputStream is,
                    java.lang.String remoteFile,
                    FileTransferProgressListener progress)
             throws java.lang.Exception
Description copied from interface: FileImport
Put file to remote location.

Specified by:
putFile in interface FileImport
Parameters:
secMgr - - the security manager
is - - the input stream where to read the bytes from
remoteFile - - the target file
progress - the progress listener (may be null)
Throws:
java.lang.Exception

putFile

@Deprecated
public void putFile(GPESecurityManager secMgr,
                               java.io.InputStream is,
                               java.lang.String remoteFile)
             throws java.lang.Exception
Deprecated. 

Description copied from interface: FileImport
Put file to remote location.

Specified by:
putFile in interface FileImport
Parameters:
secMgr - - the security manager
is - - the input stream where to read the bytes from
remoteFile - - the target file
Throws:
java.lang.Exception


Copyright © 2008. All Rights Reserved.