Class WebcrawlerConnector.CanonicalizationPolicy
- java.lang.Object
-
- org.apache.manifoldcf.crawler.connectors.webcrawler.WebcrawlerConnector.CanonicalizationPolicy
-
- Enclosing class:
- WebcrawlerConnector
protected static class WebcrawlerConnector.CanonicalizationPolicy extends java.lang.ObjectClass representing a URL regular expression match, for the purposes of determining canonicalization policy
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanlowercasingprotected java.util.regex.PatternmatchPatternprotected booleanremoveAspSessionprotected booleanremoveBVSessionprotected booleanremoveJavaSessionprotected booleanremovePhpSessionprotected booleanreorder
-
Constructor Summary
Constructors Constructor Description CanonicalizationPolicy(java.util.regex.Pattern matchPattern, boolean reorder, boolean removeJavaSession, boolean removeAspSession, boolean removePhpSession, boolean removeBVSession, boolean lowercasing)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanLowercase()booleancanRemoveAspSession()booleancanRemoveBvSession()booleancanRemoveJavaSession()booleancanRemovePhpSession()booleancanReorder()booleancheckMatch(java.lang.String url)
-
-
-
Field Detail
-
matchPattern
protected final java.util.regex.Pattern matchPattern
-
reorder
protected final boolean reorder
-
removeJavaSession
protected final boolean removeJavaSession
-
removeAspSession
protected final boolean removeAspSession
-
removePhpSession
protected final boolean removePhpSession
-
removeBVSession
protected final boolean removeBVSession
-
lowercasing
protected final boolean lowercasing
-
-
Method Detail
-
checkMatch
public boolean checkMatch(java.lang.String url)
-
canReorder
public boolean canReorder()
-
canRemoveJavaSession
public boolean canRemoveJavaSession()
-
canRemoveAspSession
public boolean canRemoveAspSession()
-
canRemovePhpSession
public boolean canRemovePhpSession()
-
canRemoveBvSession
public boolean canRemoveBvSession()
-
canLowercase
public boolean canLowercase()
-
-