public abstract class SeedModule extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Set<SeedListener> |
seedListeners |
protected boolean |
sourceTagSeeds
Whether to tag seeds with their own URI as a heritable 'source' String,
which will be carried-forward to all URIs discovered on paths originating
from that seed.
|
Constructor and Description |
---|
SeedModule() |
Modifier and Type | Method and Description |
---|---|
abstract void |
actOn(File f) |
abstract void |
addSeed(CrawlURI curi) |
void |
addSeedListener(SeedListener sl) |
abstract void |
announceSeeds() |
Set<SeedListener> |
getSeedListeners() |
boolean |
getSourceTagSeeds() |
protected void |
publishAddedSeed(CrawlURI curi) |
protected void |
publishConcludedSeedBatch() |
protected void |
publishNonSeedLine(String line) |
void |
setSeedListeners(Set<SeedListener> seedListeners) |
void |
setSourceTagSeeds(boolean sourceTagSeeds) |
protected boolean sourceTagSeeds
protected Set<SeedListener> seedListeners
public boolean getSourceTagSeeds()
public void setSourceTagSeeds(boolean sourceTagSeeds)
public Set<SeedListener> getSeedListeners()
public void setSeedListeners(Set<SeedListener> seedListeners)
protected void publishAddedSeed(CrawlURI curi)
protected void publishNonSeedLine(String line)
protected void publishConcludedSeedBatch()
public abstract void announceSeeds()
public abstract void actOn(File f)
public abstract void addSeed(CrawlURI curi)
public void addSeedListener(SeedListener sl)
Copyright © 2003-2014 Internet Archive. All Rights Reserved.