|
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.systems.universal.miners.UniversalServerUtilities
com.ibm.etools.iseries.core.dstore.miners.HostUtilities
HostUtilities
Nested Class Summary | |
---|---|
protected static class |
HostUtilities.InstancePair
|
Field Summary | |
---|---|
static String |
copyright
|
Method Summary | |
---|---|
ISeriesCodepageConverter |
getConverter()
Get the codepage converter associated with the system |
static HostUtilities |
getInstance(com.ibm.etools.systems.dstore.core.model.DataStore datastore)
|
com.ibm.as400.access.IFSFile |
getNewFile(String prefix,
String suffix)
getNewFile() - determine a file name that does not exist in the user preferences directory |
com.ibm.as400.access.AS400 |
getSystem()
getSystem - returns the static AS400 object |
String |
getUserPreferencesIFSDirectory()
getUserPreferencesIFSDirectory() - returns directory on IFS where to store user settings |
protected boolean |
handleNetworkError(Exception e)
Handle network error |
boolean |
isLocal()
Checks if the RSE server is running on the target AS/400 or in the Workbench JVM. |
static void |
logError(String context,
String errorMsg)
Additional logError method which does not require a throwable. |
void |
setSystem(com.ibm.as400.access.AS400 as400)
setSystem - Used by the ISeriesSystemDataStore class to set the AS400 object when connecting locally (with the hostname, userid and password already set.) This method should NOT be called by any other classes! |
Methods inherited from class com.ibm.etools.systems.universal.miners.UniversalServerUtilities |
---|
getUserPreferencesDirectory, logDebugMessage, logError, logInfo, logWarning |
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
Method Detail |
public static HostUtilities getInstance(com.ibm.etools.systems.dstore.core.model.DataStore datastore)
public void setSystem(com.ibm.as400.access.AS400 as400)
public com.ibm.as400.access.AS400 getSystem()
public ISeriesCodepageConverter getConverter()
public boolean isLocal()
protected boolean handleNetworkError(Exception e)
public com.ibm.as400.access.IFSFile getNewFile(String prefix, String suffix)
public String getUserPreferencesIFSDirectory()
public static void logError(String context, String errorMsg)
context
- String describing the context of the error (class / method name)errorMsg
- Meaningful error message to be written to the log file
|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |