|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.iseries.subsystems.qsys.resources.SaveFileTransfer
public class SaveFileTransfer
Helper class which downloads and uploads an IBM i save file. *
Field Summary | |
---|---|
protected IBMiConnection |
connection
|
static String |
copyright
|
protected static String |
IFS_SUBSYSTEM_CONFIGURATION_ID
|
Constructor Summary | |
---|---|
SaveFileTransfer(IBMiConnection connection)
Constructor |
Method Summary | |
---|---|
IResource |
downloadSavf(String fullyQualifiedLocalFileName,
IQSYSSaveFile saveFileObject,
boolean createFolder,
IProgressMonitor monitor)
Download a save file from IBM i to a workspace file. |
protected IResource |
getTempFileFor(String fullyQualifiedLocalFileName)
Create temporary file for given full qualified workspace file name. |
protected IResource |
getTempFileFor(String pathName,
IQSYSResource hostObject)
Create temporary file for given host object. |
protected String |
getTempRemotePath(IQSYSResource hostObject)
Get remote path for given host object. |
void |
uploadSavf(String fullyQualifiedLocalFileName,
String saveFileLibrary,
String saveFileName)
Upload a local save file to an IBM i save file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static String copyright
protected static final String IFS_SUBSYSTEM_CONFIGURATION_ID
protected IBMiConnection connection
Constructor Detail |
---|
public SaveFileTransfer(IBMiConnection connection)
Method Detail |
---|
public void uploadSavf(String fullyQualifiedLocalFileName, String saveFileLibrary, String saveFileName) throws SystemMessageException
fullyQualifiedLocalFileName:
- full qualified file name for local save filesaveFileLibrary:
- target library namesaveFileName:
- target save file name
SystemMessageException
- if there is any SystemMessage captured during uploadpublic IResource downloadSavf(String fullyQualifiedLocalFileName, IQSYSSaveFile saveFileObject, boolean createFolder, IProgressMonitor monitor) throws SystemMessageException
SystemMessageException
protected IResource getTempFileFor(String pathName, IQSYSResource hostObject)
srcFS
- srcFile
-
protected IResource getTempFileFor(String fullyQualifiedLocalFileName)
fullyQualifiedLocalFileName:
- full qualified workspace file name.
protected String getTempRemotePath(IQSYSResource hostObject)
hostObject:
- host object.
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |