com.intel.gpe.client2.common.transfers.sftp
Class SftpFileExportImpl
java.lang.Object
com.intel.gpe.client2.common.transfers.sftp.SftpFileExportImpl
- All Implemented Interfaces:
- FileExport
public class SftpFileExportImpl
- extends java.lang.Object
- implements FileExport
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SftpFileExportImpl
public SftpFileExportImpl(com.intel.gpe.clients.api.StorageClient storage)
getFile
public void getFile(java.lang.Object secMgr,
java.lang.String remoteFile,
java.io.OutputStream os,
FileTransferProgressListener progress)
throws java.lang.Exception
- Description copied from interface:
FileExport
- Get the file from the remote storage.
- Specified by:
getFile
in interface FileExport
- Parameters:
secMgr
- the security managerremoteFile
- the remote fileos
- the output stream to write the bytes toprogress
- the progress listener
- Throws:
java.lang.Exception
- if any error occurs
getFile
@Deprecated
public void getFile(GPESecurityManager secMgr,
java.lang.String remoteFile,
java.io.OutputStream os,
FileFetchingProgressListener progress)
throws java.lang.Exception
- Deprecated.
- Description copied from interface:
FileExport
- Get the file from the remote storage.
- Specified by:
getFile
in interface FileExport
- Parameters:
secMgr
- -
the security managerremoteFile
- -
the remote fileos
- -
the output stream to write the bytes to
- Throws:
java.lang.Exception
- if any error occurs
getName
public java.lang.String getName()
- Description copied from interface:
FileExport
- Get the displayable name of the file exporter
- Specified by:
getName
in interface FileExport
- Returns:
- the name of the FileExport
Copyright © 2008. All Rights Reserved.