|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object marf.Preprocessing.PreprocessingFactory
public final class PreprocessingFactory
Provides a factory to instantiate requested preprocessing module(s).
$Id: PreprocessingFactory.java,v 1.4 2007/12/16 07:14:52 mokhov Exp $
Method Summary | |
---|---|
static IPreprocessing |
create(java.lang.Integer poPreprocessingMethod,
Sample poSample)
Instantiates a Preprocessing module indicated by the first parameter with the 2nd parameter as an argument. |
static IPreprocessing |
create(int piPreprocessingMethod,
Sample poSample)
Instantiates a Preprocessing module indicated by the first parameter with the 2nd parameter as an argument. |
static java.lang.String |
getMARFSourceCodeRevision()
Returns source code revision information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final IPreprocessing create(java.lang.Integer poPreprocessingMethod, Sample poSample) throws PreprocessingException
poPreprocessingMethod
- the integer value corresponding to the
desired Preprocessing modulepoSample
- passed as an argument to the preprocessor per framework requirement
PreprocessingException
- if the indicated module is
unknown or could not be loadedMARF.DUMMY
,
MARF.BANDPASS_FFT_FILTER
,
MARF.ENDPOINT
,
MARF.HIGH_FREQUENCY_BOOST_FFT_FILTER
,
MARF.LOW_PASS_FFT_FILTER
,
MARF.HIGH_PASS_FFT_FILTER
,
MARF.HIGH_PASS_BOOST_FILTER
,
MARF.RAW
,
MARF.PREPROCESSING_PLUGIN
,
Dummy
,
BandpassFilter
,
Endpoint
,
HighFrequencyBoost
,
LowPassFilter
,
HighPassFilter
,
Raw
public static final IPreprocessing create(int piPreprocessingMethod, Sample poSample) throws PreprocessingException
piPreprocessingMethod
- the integer value corresponding to the
desired Preprocessing modulepoSample
- passed as an argument to the preprocessor per framework requirement
PreprocessingException
- if the indicated module is
unknown or could not be loadedMARF.DUMMY
,
MARF.BANDPASS_FFT_FILTER
,
MARF.ENDPOINT
,
MARF.HIGH_FREQUENCY_BOOST_FFT_FILTER
,
MARF.LOW_PASS_FFT_FILTER
,
MARF.HIGH_PASS_FFT_FILTER
,
MARF.HIGH_PASS_BOOST_FILTER
,
MARF.RAW
,
MARF.PREPROCESSING_PLUGIN
,
Dummy
,
BandpassFilter
,
Endpoint
,
HighFrequencyBoost
,
LowPassFilter
,
HighPassFilter
,
Raw
public static java.lang.String getMARFSourceCodeRevision()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |