com.ibm.etools.systems.files.importexport.jar
Class RemoteJarExporterUtil
java.lang.Object
com.ibm.etools.systems.files.importexport.jar.RemoteJarExporterUtil
- All Implemented Interfaces:
- IRemoteImportExportConstants
- public class RemoteJarExporterUtil
- extends Object
- implements IRemoteImportExportConstants
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteJarExporterUtil
public RemoteJarExporterUtil()
askToCreateDirectory
public static boolean askToCreateDirectory(Shell parent,
File directory)
asResources
public static List asResources(Object[] fSelectedElements)
- Computes and returns the elements as resources.
The underlying resource is used for Java elements.
- Returns:
- a List with the selected resources
askForOverwritePermission
public static boolean askForOverwritePermission(Shell parent,
String filePath)
askForRemoteOverwritePermission
public static boolean askForRemoteOverwritePermission(Shell parent,
String filePath,
String hostName)
createCoreException
public static CoreException createCoreException(String message,
Exception ex)
- Creates a
CoreException
with the given parameters.
- Parameters:
message
- a string with the messageex
- the exception to be wrapped or null
if none
- Returns:
- a CoreException
isMainClassValid
public static boolean isMainClassValid(RemoteJarExportData data,
IRunnableContext context)
- Tells whether the specified manifest main class is valid.
- Returns:
true
if a main class is specified and valid
Copyright © 2005 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.