com.intel.gpe.client2.transfers
Interface FileExport

All Known Implementing Classes:
BaselineFileExportImpl, RandomByteIOFileExportImpl, SftpFileExportImpl, StreamableByteIOFileExportImpl

public interface FileExport

Version:
$Id: FileExport.java,v 1.3 2006/08/15 13:21:28 lukichev Exp $
Author:
Alexander Lukichev

Method Summary
 void getFile(GPESecurityManager secMgr, java.lang.String remoteFile, java.io.OutputStream os, FileFetchingProgressListener progress)
          Deprecated.  
 void getFile(java.lang.Object secMgr, java.lang.String remoteFile, java.io.OutputStream os, FileTransferProgressListener progress)
          Get the file from the remote storage.
 java.lang.String getName()
          Get the displayable name of the file exporter
 

Method Detail

getFile

void getFile(java.lang.Object secMgr,
             java.lang.String remoteFile,
             java.io.OutputStream os,
             FileTransferProgressListener progress)
             throws java.lang.Exception
Get the file from the remote storage.

Parameters:
secMgr - the security manager
remoteFile - the remote file
os - the output stream to write the bytes to
progress - the progress listener
Throws:
java.lang.Exception - if any error occurs

getFile

void getFile(GPESecurityManager secMgr,
             java.lang.String remoteFile,
             java.io.OutputStream os,
             FileFetchingProgressListener progress)
             throws java.lang.Exception
Deprecated. 

Get the file from the remote storage.

Parameters:
secMgr - - the security manager
remoteFile - - the remote file
os - - the output stream to write the bytes to
Throws:
java.lang.Exception - if any error occurs

getName

java.lang.String getName()
Get the displayable name of the file exporter

Returns:
the name of the FileExport


Copyright © 2008. All Rights Reserved.