|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compomics.software.CompomicsWrapper
public class CompomicsWrapper
A general wrapper for compomics tools. All tools shall contain a resources/conf folder. In it a JavaOptions.txt and splash screen. Eventually JavaHome.txt and proxy/uniprotjapi.properties.
Constructor Summary | |
---|---|
CompomicsWrapper()
Constructor. |
Method Summary | |
---|---|
static void |
checkForNewVersion(String currentVersion,
String toolName,
String googleCodeToolName)
Check if a newer version of the tool is available on Google Code. |
static String |
getJarFilePath(String classPath,
String toolName)
Returns the path to the jar file. |
void |
launchTool(String toolName,
File jarFile,
String splashName,
String mainClass)
Starts the launcher by calling the launch method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompomicsWrapper()
Method Detail |
---|
public void launchTool(String toolName, File jarFile, String splashName, String mainClass)
toolName
- jarFile
- the jar file to executesplashName
- the splash name, for example peptide-shaker-splash.pngmainClass
- the main class to execute, for example
eu.isas.peptideshaker.gui.PeptideShakerGUIpublic static String getJarFilePath(String classPath, String toolName)
classPath
- the class path to extract the jar file path fromtoolName
- the name of the tool, e.g., "PeptideShaker" or
"SearchGUI".
public static void checkForNewVersion(String currentVersion, String toolName, String googleCodeToolName)
currentVersion
- the version number of the tool currently runningtoolName
- the name of the tool, e.g., "PeptideShaker"googleCodeToolName
- the google code name of the tool, e.g.,
"peptide-shaker"
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |