public class Crawler
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Crawler.Attributes |
| Constructor and Description |
|---|
Crawler(ContentStore db,
java.io.File source,
org.apache.commons.configuration.CompositeConfiguration config)
Creates new instance of Crawler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
crawl(java.io.File path)
Crawl all files and folders looking for content.
|
java.lang.String |
getPathToRoot(java.io.File sourceFile) |
public Crawler(ContentStore db, java.io.File source, org.apache.commons.configuration.CompositeConfiguration config)
db - Database instance for contentsource - Base directory where content directory is locatedconfig - Project configuration