| |
|
| java.lang.Object net.sf.regain.crawler.config.PreparatorConfig
PreparatorConfig | public class PreparatorConfig (Code) | | The configuration of a preparator. Consists of a set of sections which
contain a set of key-value-pairs.
author: Til Schneider, www.murfman.de |
addSection | void addSection(String name, Map content)(Code) | | Adds a section to the config
Parameters: name - The name of the section to add. Parameters: content - The key-value-pairs of the section to add. |
getSectionContent | public Map getSectionContent(int index)(Code) | | Gets the key-value-pairs of a section.
Parameters: index - The index of the section. The key-value-pairs of the section. |
getSectionCount | public int getSectionCount()(Code) | | Gets the number of sections this config has.
The number of sections. |
getSectionName | public String getSectionName(int index)(Code) | | Gets the name of a section.
Parameters: index - The index of the section. The name of the section. |
getSectionWithName | public Map getSectionWithName(String name)(Code) | | Gets the first section with the given name.
Parameters: name - The name of the sections The first section with the given name or null if thereis no such section. |
getSectionsWithName | public Map[] getSectionsWithName(String name)(Code) | | Gets all sections with the given name.
Parameters: name - The name of the sections All sections with the given name. |
|
|
|