|
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.Objectcom.ibm.etools.iseries.rse.util.SaveFileUtil
public class SaveFileUtil
A utility class to obtain save file information.
| Field Summary | |
|---|---|
static int |
COMMAND_SAVLIB
Constant representing SAVLIB command, 2. |
static int |
COMMAND_SAVOBJ
Constant representing SAVOBJ command, 1. |
static int |
COMMAND_UNKNOWN
Constant representing unknown command, 0. |
static String |
Copyright
|
| Method Summary | |
|---|---|
static SaveFileUtil |
getInstance()
Gets the singleton instance of the utility. |
int |
getSaveFileCommand(AS400 as400,
String ifsPath)
Gets the command used to create the save file with the given path. |
int |
getSaveFileCommand(String localPath)
Gets the command used to create the save file with the given path. |
String |
getSaveFileLibrary(AS400 as400,
String ifsPath)
Gets the library which contained the contents of the save file with the given path. |
String |
getSaveFileLibrary(String localPath)
Gets the library which contained the contents of the save file with the given path. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String Copyright
public static final int COMMAND_UNKNOWN
public static final int COMMAND_SAVOBJ
public static final int COMMAND_SAVLIB
| Method Detail |
|---|
public static SaveFileUtil getInstance()
public int getSaveFileCommand(String localPath)
throws IOException
localPath - the path of the save file.
COMMAND_SAVOBJ, COMMAND_SAVLIB, or COMMAND_UNKNOWN (unlikely).
IOException - if an I/O error occurs.
public int getSaveFileCommand(AS400 as400,
String ifsPath)
throws IOException,
AS400SecurityException
as400 - the AS/400.ifsPath - the IFS path of the save file.
COMMAND_SAVOBJ, COMMAND_SAVLIB, or COMMAND_UNKNOWN (unlikely).
IOException - if an I/O error occurs.
AS400SecurityException
public String getSaveFileLibrary(String localPath)
throws IOException
localPath - the path of the save file.
IOException - if an I/O error occurs.
public String getSaveFileLibrary(AS400 as400,
String ifsPath)
throws IOException,
AS400SecurityException
as400 - the AS/400.ifsPath - the IFS path of the save file.
IOException - if an I/O error occurs.
AS400SecurityException
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||