com.intel.gpe.client2.common.transfers.byteio
Class RandomByteIOFileExportImpl
java.lang.Object
com.intel.gpe.client2.common.transfers.byteio.RandomByteIOFileExportImpl
- All Implemented Interfaces:
- FileExport
public class RandomByteIOFileExportImpl
- extends java.lang.Object
- implements FileExport
- Version:
- $Id: RandomByteIOFileExportImpl.java,v 1.4 2006/10/19 13:40:54 dizhigul Exp $
- Author:
- Dmitry Ivanov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomByteIOFileExportImpl
public RandomByteIOFileExportImpl(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.