org.fhcrc.cpl.viewer.amt
Class AmtFeatureSetMatcherFactory

java.lang.Object
  extended by org.fhcrc.cpl.viewer.amt.AmtFeatureSetMatcherFactory

public class AmtFeatureSetMatcherFactory
extends java.lang.Object

Creates instances of particular FeatureSetMatchers


Field Summary
static java.lang.String AMT_PACKAGE
           
 
Constructor Summary
AmtFeatureSetMatcherFactory()
           
 
Method Summary
static AmtFeatureSetMatcher createInstance(java.lang.Class classToInstantiate)
          Catch different kinds of exceptions and throw InstantiationExceptions, because I'm lazy farther up in the code
static AmtFeatureSetMatcher createInstance(java.lang.Class classToInstantiate, float deltaMass, int deltaMassType, float deltaHydrophobicity)
          Instantiate the class and then call the init() method
static AmtFeatureSetMatcher createInstanceFromPartialClassName(java.lang.String partialClassName)
          Given a partial class name, tacks on "FeatureSetMatcher", puts it in the right package, and looks for it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AMT_PACKAGE

public static final java.lang.String AMT_PACKAGE
See Also:
Constant Field Values
Constructor Detail

AmtFeatureSetMatcherFactory

public AmtFeatureSetMatcherFactory()
Method Detail

createInstanceFromPartialClassName

public static AmtFeatureSetMatcher createInstanceFromPartialClassName(java.lang.String partialClassName)
                                                               throws java.lang.InstantiationException
Given a partial class name, tacks on "FeatureSetMatcher", puts it in the right package, and looks for it. This method is not forgiving. Capitalization matters, etc.

Parameters:
partialClassName -
Returns:
Throws:
java.lang.InstantiationException

createInstance

public static AmtFeatureSetMatcher createInstance(java.lang.Class classToInstantiate)
                                           throws java.lang.InstantiationException
Catch different kinds of exceptions and throw InstantiationExceptions, because I'm lazy farther up in the code

Parameters:
classToInstantiate -
Returns:
Throws:
java.lang.InstantiationException

createInstance

public static AmtFeatureSetMatcher createInstance(java.lang.Class classToInstantiate,
                                                  float deltaMass,
                                                  int deltaMassType,
                                                  float deltaHydrophobicity)
                                           throws java.lang.InstantiationException
Instantiate the class and then call the init() method

Parameters:
classToInstantiate -
deltaMass -
deltaMassType -
deltaHydrophobicity -
Returns:
Throws:
java.lang.InstantiationException


Fred Hutchinson Cancer Research Center