org.fhcrc.cpl.viewer.amt
Class AmtFeatureSetMatcherFactory
java.lang.Object
org.fhcrc.cpl.viewer.amt.AmtFeatureSetMatcherFactory
public class AmtFeatureSetMatcherFactory
- extends java.lang.Object
Creates instances of particular FeatureSetMatchers
|
Method Summary |
static FeatureSetMatcher |
createInstance(java.lang.Class classToInstantiate)
Catch different kinds of exceptions and throw InstantiationExceptions, because I'm lazy
farther up in the code |
static FeatureSetMatcher |
createInstance(java.lang.Class classToInstantiate,
float deltaMass,
int deltaMassType,
float deltaHydrophobicity)
Instantiate the class and then call the init() method |
static FeatureSetMatcher |
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 |
AMT_PACKAGE
public static final java.lang.String AMT_PACKAGE
- See Also:
- Constant Field Values
AmtFeatureSetMatcherFactory
public AmtFeatureSetMatcherFactory()
createInstanceFromPartialClassName
public static FeatureSetMatcher 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 FeatureSetMatcher 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 FeatureSetMatcher 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