|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.iseries.core.util.ISeriesSaveFileUtil
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. |
Method Summary | |
---|---|
static ISeriesSaveFileUtil |
getInstance()
Gets the singleton instance of the utility. |
int |
getSaveFileCommand(com.ibm.as400.access.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(com.ibm.as400.access.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 int COMMAND_UNKNOWN
public static final int COMMAND_SAVOBJ
public static final int COMMAND_SAVLIB
Method Detail |
public static ISeriesSaveFileUtil 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(com.ibm.as400.access.AS400 as400, String ifsPath) throws IOException, com.ibm.as400.access.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.
com.ibm.as400.access.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(com.ibm.as400.access.AS400 as400, String ifsPath) throws IOException, com.ibm.as400.access.AS400SecurityException
as400
- the AS/400.ifsPath
- the IFS path of the save file.
IOException
- if an I/O error occurs.
com.ibm.as400.access.AS400SecurityException
|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |