|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.files.importexport.files.Utilities
Contains several helper methods. A lot of these should really be provided by comm. layer, but for many reasons they were not. oh well ....
Field Summary | |
---|---|
static String |
EXPORT_DESCRIPTION_EXTENSION
|
static String |
IMPORT_DESCRIPTION_EXTENSION
|
Fields inherited from interface com.ibm.etools.systems.files.importexport.IRemoteImportExportConstants |
---|
REMOTE_EXPORT_DESCRIPTION_FILE_EXTENSIONS, REMOTE_FILE_EXPORT_DESCRIPTION_FILE_EXTENSION, REMOTE_FILE_IMPORT_DESCRIPTION_FILE_EXTENSION, REMOTE_IMPORT_DESCRIPTION_FILE_EXTENSIONS, REMOTE_JAR_EXPORT_DESCRIPTION_FILE_EXTENSION |
Constructor Summary | |
---|---|
Utilities()
|
Method Summary | |
---|---|
static void |
error(Exception e)
|
static String |
getAsString(IRemoteFile selectedDirectory)
Use this method to get selected string from an IRemoteFile object. |
static String |
getAsString(UniFilePlus selectedDirectory)
Use this method to get selected string from an UniFilePlus object. |
static SystemConnection |
getConnection(String profileName,
String connectionName)
Use this method to retrieve a SystemConnection from profile and a connectionName string. |
static IRemoteFile |
getIRemoteFile(SystemConnection c,
String path)
Use this method to get IRemoteFile object from SystemConnection, and path |
static Shell |
getShell()
|
static boolean |
isConnectionValid(String name,
Shell s)
Validate remote connection, and issue error if required. |
static void |
logExceptionError(String msgId,
Object[] subs,
Throwable exception)
|
static void |
logExceptionError(String msgId,
Throwable exception)
|
static IRemoteFile |
parseForIRemoteFile(String sel)
Use this method to retrieve an IRemoteFile object from a selection string. |
static String |
parseForPath(String sel)
Use this method to retrieve the file path from a selection string. |
static SystemConnection |
parseForSystemConnection(String sel)
Use this method to retrieve a SystemConnection from a selection string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String IMPORT_DESCRIPTION_EXTENSION
public static final String EXPORT_DESCRIPTION_EXTENSION
Constructor Detail |
public Utilities()
Method Detail |
public static IRemoteFile getIRemoteFile(SystemConnection c, String path)
public static String getAsString(IRemoteFile selectedDirectory)
public static String getAsString(UniFilePlus selectedDirectory)
public static boolean isConnectionValid(String name, Shell s)
public static IRemoteFile parseForIRemoteFile(String sel)
public static String parseForPath(String sel)
public static SystemConnection getConnection(String profileName, String connectionName)
public static SystemConnection parseForSystemConnection(String sel)
public static void error(Exception e)
public static Shell getShell()
public static void logExceptionError(String msgId, Throwable exception)
public static void logExceptionError(String msgId, Object[] subs, Throwable exception)
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |