com.intel.gpe.client2.transfers
Interface FileImport

All Known Implementing Classes:
BaselineFileImportImpl, RandomByteIOFileImportImpl, SftpFileImportImpl, StreamableByteIOFileImportImpl

public interface FileImport

Version:
$Id: FileImport.java,v 1.2 2006/06/01 12:58:49 lukichev Exp $
Author:
Alexander Lukichev

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.
 

Method Detail

putFile

void putFile(java.lang.Object secMgr,
             java.io.InputStream is,
             java.lang.String remoteFile,
             FileTransferProgressListener progress)
             throws java.lang.Exception
Put file to remote location.

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

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

Put file to remote location.

Parameters:
secMgr - - the security manager
is - - the input stream where to read the bytes from
remoteFile - - the target file
Throws:
java.lang.Exception

getName

java.lang.String getName()
Get the name of the protocol.

Returns:
the name of the protocol


Copyright © 2008. All Rights Reserved.