net.sf.regain.crawler.document
Class PreparatorFactory
java.lang.Object
  
net.sf.regain.crawler.document.PluggableFactory
      
net.sf.regain.crawler.document.PreparatorFactory
public class PreparatorFactory
- extends PluggableFactory
 
Loads and initializes the preparators.
- Author:
 
  - Tilman Schneider, STZ-IDA an der FH Karlsruhe
 
 
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
mSingleton
private static PreparatorFactory mSingleton
- The singleton.
 
PreparatorFactory
public PreparatorFactory()
getInstance
public static PreparatorFactory getInstance()
- Gets the PluggableFactory instance.
- Returns:
 - The PluggableFactory instance.
 
 
 
pluggableAfterInit
protected void pluggableAfterInit(Pluggable pluggable,
                                  PreparatorSettings preparatorSettings)
                           throws RegainException
- Specified by:
 pluggableAfterInit in class PluggableFactory
 
- Throws:
 RegainException
 
getPluggableDir
protected File getPluggableDir()
                        throws RegainException
- Specified by:
 getPluggableDir in class PluggableFactory
 
- Throws:
 RegainException
 
getClassNames
protected String[] getClassNames(File pluggableFile,
                                 Attributes attributes)
                          throws RegainException
- Specified by:
 getClassNames in class PluggableFactory
 
- Throws:
 RegainException
 
createPreparatorArr
public Preparator[] createPreparatorArr(PreparatorSettings[] preparatorSettingsArr)
                                 throws RegainException
- Creates an array of preparators from the settings.
- Parameters:
 preparatorSettingsArr - The list with the preparator settings.
- Returns:
 - The preparators.
 - Throws:
 RegainException - If the creation of a preparator failed.
 
 
getDefaultPackage
protected String getDefaultPackage()
- Specified by:
 getDefaultPackage in class PluggableFactory
 
 
Regain 2.1.0-STABLE, Copyright (C) 2004-2010 Til Schneider, www.murfman.de, Thomas Tesche, www.clustersystems.info