marf.Preprocessing.Dummy
Class Dummy
java.lang.Object
  
marf.Storage.StorageManager
      
marf.Preprocessing.Preprocessing
          
marf.Preprocessing.Dummy.Dummy
- All Implemented Interfaces: 
 - java.io.Serializable, java.lang.Cloneable, IPreprocessing, IStorageManager
 
- Direct Known Subclasses: 
 - Raw
 
public class Dummy
- extends Preprocessing
 
Implements dummy preprocessing module for testing purposes
 that does only normalization.
 $Id: Dummy.java,v 1.27 2007/12/16 01:11:05 mokhov Exp $
- Since:
 
  - 0.0.1
 
- Version:
 
  - $Revision: 1.27 $
 
- Author:
 
  - Serguei Mokhov
 
- See Also:
 - Serialized Form
 
 
 
 
 
 
| 
Constructor Summary | 
Dummy()
 
          Default constructor for reflective creation of Preprocessing
 clones. | 
Dummy(IPreprocessing poPreprocessing)
 
          Implementation of the preprocessing pipeline. | 
Dummy(Sample poSample)
 
          Dummy Constructor. | 
 
| 
Method Summary | 
static java.lang.String | 
getMARFSourceCodeRevision()
 
          Returns source code revision information. | 
 boolean | 
preprocess()
 
          Dummy implementation of preprocess() for testing
 that doesn't do any real work and simply defers the call to the
 generic implementation. | 
 
| Methods inherited from class marf.Preprocessing.Preprocessing | 
backSynchronizeObject, clone, compress, compress, cropAudio, extractParameters, getSample, normalize, normalize, normalize, removeNoise, removeSilence, removeSilence, setSample | 
 
| Methods inherited from class marf.Storage.StorageManager | 
dump, dumpBinary, dumpCSV, dumpGzipBinary, dumpHTML, dumpSQL, dumpXML, enableDumpOnNotFound, equals, getDefaultExtension, getDefaultExtension, getDumpMode, getFilename, getObjectToSerialize, hashCode, restore, restoreBinary, restoreCSV, restoreGzipBinary, restoreHTML, restoreSQL, restoreXML, setDumpMode, setFilename, toString | 
 
| Methods inherited from class java.lang.Object | 
finalize, getClass, notify, notifyAll, wait, wait, wait | 
 
Dummy
public Dummy()
- Default constructor for reflective creation of Preprocessing
 clones. Typically should not be used unless really necessary
 for the frameworked modules.
- Since:
 
  - 0.3.0.5
 
 
Dummy
public Dummy(IPreprocessing poPreprocessing)
      throws PreprocessingException
- Implementation of the preprocessing pipeline.
- Parameters:
 poPreprocessing - successor preprocessing module
- Throws:
 PreprocessingException- Since:
 
  - 0.3.0.3
 
 
Dummy
public Dummy(Sample poSample)
      throws PreprocessingException
- Dummy Constructor.
- Parameters:
 poSample - incoming sample
- Throws:
 PreprocessingException
 
preprocess
public boolean preprocess()
                   throws PreprocessingException
- Dummy implementation of 
preprocess() for testing
 that doesn't do any real work and simply defers the call to the
 generic implementation.
- Specified by:
 preprocess in interface IPreprocessing- Overrides:
 preprocess in class Preprocessing
 
- Returns:
 true if preprocessing occurred and changes to the sample were made
- Throws:
 PreprocessingException- See Also:
 IPreprocessing.removeNoise(), 
IPreprocessing.removeSilence()
 
 
getMARFSourceCodeRevision
public static java.lang.String getMARFSourceCodeRevision()
- Returns source code revision information.
- Returns:
 - revision string
 - Since:
 
  - 0.3.0.2