org.ow2.weblab.services.crawler.folder.impl
Class FolderCrawlerService
java.lang.Object
org.ow2.weblab.services.crawler.folder.impl.FolderCrawlerService
- All Implemented Interfaces:
- FolderCrawling, org.weblab_project.services.configurable.Configurable, org.weblab_project.services.sourcereader.SourceReader
public class FolderCrawlerService
- extends java.lang.Object
- implements FolderCrawling, org.weblab_project.services.configurable.Configurable, org.weblab_project.services.sourcereader.SourceReader
- Author:
- jdoucy, ymombrun
- Date:
- 5 juin 08
|
Field Summary |
protected org.ow2.weblab.content.binary.BinaryFolderContentManager |
contentManager
BinaryFolderContentManager |
static java.lang.String |
DEFAULT_FOLDER
The default folder to crawl |
protected java.util.List<org.ow2.weblab.crawler.FolderCrawler> |
defaultFC
|
static java.lang.String |
FOLDERS_FILE
The file defining the folder to crawl, in a one-a-row style |
protected java.util.Map<java.lang.String,java.lang.String> |
props
|
protected java.util.Map<java.lang.String,java.util.List<org.ow2.weblab.crawler.FolderCrawler>> |
usContextAndFolderCrawler
|
protected java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
usContextAndFolderToCrawl
|
|
Method Summary |
org.weblab_project.services.configurable.types.ConfigureReturn |
configure(org.weblab_project.services.configurable.types.ConfigureArgs args)
|
org.weblab_project.services.sourcereader.types.GetResourceReturn |
getResource(org.weblab_project.services.sourcereader.types.GetResourceArgs args)
|
protected void |
loadProps()
|
org.weblab_project.services.configurable.types.ResetConfigurationReturn |
resetConfiguration(org.weblab_project.services.configurable.types.ResetConfigurationArgs args)
|
StartCrawlReturn |
startCrawl(StartCrawlArgs args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contentManager
protected org.ow2.weblab.content.binary.BinaryFolderContentManager contentManager
- BinaryFolderContentManager
DEFAULT_FOLDER
public static final java.lang.String DEFAULT_FOLDER
- The default folder to crawl
- See Also:
- Constant Field Values
FOLDERS_FILE
public static final java.lang.String FOLDERS_FILE
- The file defining the folder to crawl, in a one-a-row style
- See Also:
- Constant Field Values
props
protected java.util.Map<java.lang.String,java.lang.String> props
usContextAndFolderToCrawl
protected java.util.Map<java.lang.String,java.util.List<java.lang.String>> usContextAndFolderToCrawl
usContextAndFolderCrawler
protected java.util.Map<java.lang.String,java.util.List<org.ow2.weblab.crawler.FolderCrawler>> usContextAndFolderCrawler
defaultFC
protected java.util.List<org.ow2.weblab.crawler.FolderCrawler> defaultFC
FolderCrawlerService
public FolderCrawlerService()
startCrawl
public StartCrawlReturn startCrawl(StartCrawlArgs args)
throws StartCrawlException
- Specified by:
startCrawl in interface FolderCrawling
- Returns:
- returns org.weblab_project.services.foldercrawling.types.StartCrawlReturn
- Throws:
StartCrawlException
getResource
public org.weblab_project.services.sourcereader.types.GetResourceReturn getResource(org.weblab_project.services.sourcereader.types.GetResourceArgs args)
throws org.weblab_project.services.sourcereader.GetResourceException
- Specified by:
getResource in interface org.weblab_project.services.sourcereader.SourceReader
- Throws:
org.weblab_project.services.sourcereader.GetResourceException
loadProps
protected void loadProps()
configure
public org.weblab_project.services.configurable.types.ConfigureReturn configure(org.weblab_project.services.configurable.types.ConfigureArgs args)
throws org.weblab_project.services.configurable.ConfigureException
- Specified by:
configure in interface org.weblab_project.services.configurable.Configurable
- Throws:
org.weblab_project.services.configurable.ConfigureException
resetConfiguration
public org.weblab_project.services.configurable.types.ResetConfigurationReturn resetConfiguration(org.weblab_project.services.configurable.types.ResetConfigurationArgs args)
throws org.weblab_project.services.configurable.ResetConfigurationException
- Specified by:
resetConfiguration in interface org.weblab_project.services.configurable.Configurable
- Throws:
org.weblab_project.services.configurable.ResetConfigurationException
Copyright © 2004-2010. All Rights Reserved.