Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.subsystems.qsys.resources
Class QSYSReadOnlySrcPhysicalFileMember

java.lang.Object
  extended by com.ibm.etools.iseries.subsystems.qsys.resources.QSYSReadOnlySrcPhysicalFileMember
Direct Known Subclasses:
QSYSEditorGetFileActionSrcPhysicalFileMember, QSYSEditorLpexActionSrcPhysicalFileMember

public class QSYSReadOnlySrcPhysicalFileMember
extends Object

Class that represents a source physical file that is downloadable to a special temp IFile


Field Summary
static String Copyright
           
 
Constructor Summary
QSYSReadOnlySrcPhysicalFileMember(IQSYSMember member, String root)
          Constructor for QSYSReadOnlySrcPhysicalFileMember
 
Method Summary
 void delete()
          Delete the local resource
protected  void download(IProgressMonitor monitor)
          Download the member.
 void download(Shell shell)
          Download the member.
 File getLocalResource()
          Get the local resource
protected  void setStripPrefixOnDownload(boolean stripPrefix)
          set if the prefix is to be removed when the file is downloaded
 
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
Constructor Detail

QSYSReadOnlySrcPhysicalFileMember

public QSYSReadOnlySrcPhysicalFileMember(IQSYSMember member,
                                         String root)
Constructor for QSYSReadOnlySrcPhysicalFileMember

Method Detail

download

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

Parameters:
true - if the member should be locked as part of the download, false if not
if - the progress monitor is null, then a default progress monitor will be created
Throws:
Exception

download

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

Parameters:
true - if member should be locked as part of the download, false if not.
Throws:
Exception

getLocalResource

public File getLocalResource()
Get the local resource


delete

public void delete()
Delete the local resource


setStripPrefixOnDownload

protected void setStripPrefixOnDownload(boolean stripPrefix)
set if the prefix is to be removed when the file is downloaded


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.