com.compomics.software
Class CompomicsWrapper

java.lang.Object
  extended by com.compomics.software.CompomicsWrapper

public class CompomicsWrapper
extends Object

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.

Author:
Marc Vaudel

Constructor Summary
CompomicsWrapper()
          Constructor.
 
Method Summary
 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

CompomicsWrapper

public CompomicsWrapper()
Constructor.

Method Detail

launchTool

public void launchTool(String toolName,
                       File jarFile,
                       String splashName,
                       String mainClass)
Starts the launcher by calling the launch method. Use this as the main class in the jar file.

Parameters:
jarFile - the jar file to execute
splashName - the splash name, for example peptide-shaker-splash.png
mainClass - the main class to execute, for example eu.isas.peptideshaker.gui.PeptideShakerGUI


Copyright © 2012. All Rights Reserved.