|
||||||||||
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(java.lang.String currentVersion,
java.lang.String toolName,
java.lang.String googleCodeToolName)
Check if a newer version of the tool is available on Google Code. |
static java.lang.String |
getJarFilePath(java.lang.String classPath,
java.lang.String toolName)
Returns the path to the jar file. |
void |
launchTool(java.lang.String toolName,
java.io.File jarFile,
java.lang.String splashName,
java.lang.String mainClass)
Starts the launcher by calling the launch method. |
void |
launchTool(java.lang.String toolName,
java.io.File jarFile,
java.lang.String splashName,
java.lang.String mainClass,
java.lang.String[] args)
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(java.lang.String toolName, java.io.File jarFile, java.lang.String splashName, java.lang.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 void launchTool(java.lang.String toolName, java.io.File jarFile, java.lang.String splashName, java.lang.String mainClass, java.lang.String[] args)
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.PeptideShakerGUIargs
- the arguments to pass to the tool (ignored if null)public static java.lang.String getJarFilePath(java.lang.String classPath, java.lang.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(java.lang.String currentVersion, java.lang.String toolName, java.lang.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 |