| java.lang.Object net.sf.regain.crawler.config.PreparatorSettings
Constructor Summary | |
public | PreparatorSettings(boolean isEnabled, String preparatorClassName, String urlRegex, PreparatorConfig preparatorConfig) Creates a new instance of PreparatorSettings.
Parameters: isEnabled - Specifies whether the preparator is enabled. Parameters: preparatorClassName - The class name of the preparator. |
DEFAULT_PREPARATOR_PACKAGE | final public static String DEFAULT_PREPARATOR_PACKAGE(Code) | | The default preparator package.
|
PreparatorSettings | public PreparatorSettings(boolean isEnabled, String preparatorClassName, String urlRegex, PreparatorConfig preparatorConfig)(Code) | | Creates a new instance of PreparatorSettings.
Parameters: isEnabled - Specifies whether the preparator is enabled. Parameters: preparatorClassName - The class name of the preparator. The class mustimplement net.sf.regain.crawler.document.Preparator Preparator. Parameters: urlRegex - The regular expression a URL must match to, to be preparedby this preparator. If null the default regex of thepreparator should be used. Parameters: preparatorConfig - The configuration of the preparator. |
getPreparatorClassName | public String getPreparatorClassName()(Code) | | Gets the class name of the preparator.
The class name of the preparator. |
getPreparatorConfig | public PreparatorConfig getPreparatorConfig()(Code) | | Gets the configuration of the preparator.
The configuration of the preparator. |
getUrlRegex | public String getUrlRegex()(Code) | | Gets the regular expression a URL must match to, to be prepared this
preparator.
The regular expression a URL must match to, to be preparedby this preparator. If null the default regex of thepreparator should be used. |
isEnabled | public boolean isEnabled()(Code) | | Gets whether the preparator is enabled.
Whether the preparator is enabled. |
|
|