Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.editor
Class SystemReadOnlyRemoteFile

java.lang.Object
  extended by com.ibm.etools.systems.editor.SystemReadOnlyRemoteFile
Direct Known Subclasses:
SystemEditorCompareActionRemoteFile, SystemEditorGetFileActionRemoteFile

public class SystemReadOnlyRemoteFile
extends Object


Field Summary
static String Copyright
           
protected  String localPath
           
protected  IRemoteFile remoteFile
           
protected  String remotePath
           
protected  String root
           
protected  IRemoteFileSubSystem subsystem
           
 
Constructor Summary
SystemReadOnlyRemoteFile(IRemoteFile remoteFile, String root)
          Constructor for SystemReadOnlyRemoteFile
 
Method Summary
 void delete()
          Delete the local resource
protected  void download(IProgressMonitor monitor)
          Download the file.
 void download(Shell shell)
          Download the file.
protected  String getDownloadPath()
          Get the download path
 String getLocalPath()
          Returns the local path.
 File getLocalResource()
          Get the local resource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values

remoteFile

protected IRemoteFile remoteFile

remotePath

protected String remotePath

subsystem

protected IRemoteFileSubSystem subsystem

root

protected String root

localPath

protected String localPath
Constructor Detail

SystemReadOnlyRemoteFile

public SystemReadOnlyRemoteFile(IRemoteFile remoteFile,
                                String root)
Constructor for SystemReadOnlyRemoteFile

Method Detail

download

public void download(Shell shell)
              throws Exception
Download the file.

Parameters:
if - the shell is null, no progress monitor will be shown
Throws:
Exception

download

protected void download(IProgressMonitor monitor)
                 throws Exception
Download the file.

Parameters:
the - progress monitor
Throws:
Exception

getLocalPath

public String getLocalPath()
Returns the local path.

Returns:
the local path.

getLocalResource

public File getLocalResource()
Get the local resource


delete

public void delete()
Delete the local resource


getDownloadPath

protected String getDownloadPath()
Get the download path


Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.