protected static class RSSConnector.Filter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Set<java.lang.String> |
acls |
protected java.lang.Integer |
badFeedRescanInterval |
protected RSSConnector.CanonicalizationPolicies |
canonicalizationPolicies |
protected int |
chromedContentMode |
protected int |
dechromedContentMode |
protected java.lang.Integer |
defaultRescanInterval |
protected java.util.List<java.util.regex.Pattern> |
excludePatterns
The arraylist of exclude patterns
|
protected int |
feedTimeoutValue |
protected RSSConnector.MappingRules |
mappings |
protected java.lang.Integer |
minimumRescanInterval |
protected java.util.Set<java.lang.String> |
seeds |
| Constructor and Description |
|---|
Filter(org.apache.manifoldcf.core.interfaces.Specification spec,
boolean warnOnBadSeed)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getAcls()
Get the acls
|
java.lang.Long |
getBadFeedRescanTime(long currentTime)
Get the next time a "bad feed" should be rescanned
|
RSSConnector.CanonicalizationPolicies |
getCanonicalizationPolicies()
Get canonicalization policies
|
int |
getChromedContentMode()
Get the chromed content mode
|
int |
getDechromedContentMode()
Get the dechromed content mode
|
java.lang.Long |
getDefaultRescanTime(long currentTime)
Get the next time (by default) a feed should be scanned
|
int |
getFeedTimeoutValue()
Get the feed timeout value
|
java.lang.Long |
getMinimumRescanTime(long currentTime)
Get the minimum next time a feed should be scanned
|
java.util.Iterator<java.lang.String> |
getSeeds()
Iterate over all canonicalized seeds
|
boolean |
isLegalURL(java.lang.String url)
Check for legality of a url.
|
boolean |
isSeed(java.lang.String canonicalUrl)
Check if document is a seed
|
java.lang.String |
mapDocumentURL(java.lang.String url)
Scan patterns and return the one that matches first.
|
protected final RSSConnector.MappingRules mappings
protected final java.util.Set<java.lang.String> seeds
protected java.lang.Integer defaultRescanInterval
protected java.lang.Integer minimumRescanInterval
protected java.lang.Integer badFeedRescanInterval
protected int dechromedContentMode
protected int chromedContentMode
protected int feedTimeoutValue
protected final java.util.Set<java.lang.String> acls
protected final RSSConnector.CanonicalizationPolicies canonicalizationPolicies
protected final java.util.List<java.util.regex.Pattern> excludePatterns
public Filter(org.apache.manifoldcf.core.interfaces.Specification spec,
boolean warnOnBadSeed)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic boolean isSeed(java.lang.String canonicalUrl)
public java.util.Iterator<java.lang.String> getSeeds()
public java.lang.String[] getAcls()
public int getFeedTimeoutValue()
public int getDechromedContentMode()
public int getChromedContentMode()
public java.lang.Long getDefaultRescanTime(long currentTime)
public java.lang.Long getMinimumRescanTime(long currentTime)
public java.lang.Long getBadFeedRescanTime(long currentTime)
public boolean isLegalURL(java.lang.String url)
public java.lang.String mapDocumentURL(java.lang.String url)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic RSSConnector.CanonicalizationPolicies getCanonicalizationPolicies()