com.intel.gpe.gridbeans
Class GPEFile

java.lang.Object
  extended by com.intel.gpe.gridbeans.GPEFile
All Implemented Interfaces:
AbstractFile

public class GPEFile
extends java.lang.Object
implements AbstractFile

The class for representing values of type GPEFile. Such values contain pairs of file names: the name at the local machine and the name at the remote machine. The former designates the local copy of the file and the latter designates the remote one.

Version:
$Id: GPEFile.java,v 1.4 2005/12/07 12:12:42 lukichev Exp $
Author:
Alexander Lukichev

Constructor Summary
GPEFile(java.lang.String localFile, java.lang.String remoteFile)
          Create GPEFile value.
 
Method Summary
 java.lang.String getLocalSystemFile()
          Get the file name on the local system.
 java.lang.String getTargetSystemFile()
          Get the name of the file at a remote location.
 void patch(java.lang.String prefix)
           
 void setLocalSystemFile(java.lang.String localFile)
          Set the name of the file at the local machine
 void setTargetSystemFile(java.lang.String remoteFile)
          Set the name of the file at the remote machine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GPEFile

public GPEFile(java.lang.String localFile,
               java.lang.String remoteFile)
Create GPEFile value.

Parameters:
localFile - The name of the local file
remoteFile - The name of the remote file
Method Detail

getLocalSystemFile

public java.lang.String getLocalSystemFile()
Get the file name on the local system.

Returns:
The name of the file at the local machine

setLocalSystemFile

public void setLocalSystemFile(java.lang.String localFile)
Set the name of the file at the local machine

Parameters:
localFile - The file name

getTargetSystemFile

public java.lang.String getTargetSystemFile()
Description copied from interface: AbstractFile
Get the name of the file at a remote location.

Specified by:
getTargetSystemFile in interface AbstractFile
Returns:
The name of the file on the remote file system

setTargetSystemFile

public void setTargetSystemFile(java.lang.String remoteFile)
Set the name of the file at the remote machine

Parameters:
remoteFile - The file name

patch

public void patch(java.lang.String prefix)