com.intel.gpe.client2.common.transfers.baseline
Class BaselineFileImportImpl

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

public class BaselineFileImportImpl
extends java.lang.Object
implements FileImport

Version:
$Id: BaselineFileImportImpl.java,v 1.2 2006/06/01 12:58:49 lukichev Exp $
Author:
Thomas Kentemich

Constructor Summary
BaselineFileImportImpl(com.intel.gpe.clients.api.StorageClient storage)
           
 
Method Summary
 java.lang.String getName()
          Get the name of the protocol.
 void putFile(GPESecurityManager manager, 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

BaselineFileImportImpl

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

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 manager,
                               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:
manager - - the security manager
is - - the input stream where to read the bytes from
remoteFile - - the target file
Throws:
java.lang.Exception

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


Copyright © 2008. All Rights Reserved.