com.intel.gpe.client2.common.requests
Class RenameFileRequest

java.lang.Object
  extended by com.intel.gpe.client2.requests.BaseRequest
      extended by com.intel.gpe.client2.common.requests.RenameFileRequest
All Implemented Interfaces:
Request, java.io.Serializable

public class RenameFileRequest
extends BaseRequest

The request for file renaming. The return value of the request is the target file name.

Version:
$Id: RenameFileRequest.java,v 1.3 2006/10/19 13:40:48 dizhigul Exp $
Author:
Alexander Lukichev
See Also:
Serialized Form

Constructor Summary
RenameFileRequest(com.intel.gpe.clients.api.StorageClient storageClient, java.lang.String from, java.lang.String to)
          Create the request object.
 
Method Summary
 java.lang.Object perform()
          The request body.
 
Methods inherited from class com.intel.gpe.client2.requests.BaseRequest
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenameFileRequest

public RenameFileRequest(com.intel.gpe.clients.api.StorageClient storageClient,
                         java.lang.String from,
                         java.lang.String to)
Create the request object.

Parameters:
storageClient - - the client to the remote storage
from - - the original file name
to - - the target file name
Method Detail

perform

public java.lang.Object perform()
                         throws java.lang.Throwable
Description copied from interface: Request
The request body.

Returns:
the result of the request
Throws:
java.lang.Throwable - TODO


Copyright © 2008. All Rights Reserved.