|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.nutch.parse.html.RobotsMetaProcessor.RobotsMetaIndicator
Utility class with indicators for the robots directives "noindex" and "nofollow", and HTTP-EQUIV/no-cache
Constructor Summary | |
RobotsMetaProcessor.RobotsMetaIndicator()
|
Method Summary | |
URL |
getBaseHref()
Returns the baseHref , if set, or null
otherwise. |
boolean |
getNoCache()
Returns the current value of noCache . |
boolean |
getNoFollow()
Returns the current value of noFollow . |
boolean |
getNoIndex()
Returns the current value of noIndex . |
void |
reset()
Sets noIndex , noFollow and
noCache to false . |
void |
setBaseHref(URL baseHref)
Sets the baseHref . |
void |
setNoCache()
Sets noCache to true . |
void |
setNoFollow()
Sets noFollow to true . |
void |
setNoIndex()
Sets noIndex to true . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RobotsMetaProcessor.RobotsMetaIndicator()
Method Detail |
public void reset()
noIndex
, noFollow
and
noCache
to false
.
public void setNoFollow()
noFollow
to true
.
public void setNoIndex()
noIndex
to true
.
public void setNoCache()
noCache
to true
.
public void setBaseHref(URL baseHref)
baseHref
.
public boolean getNoIndex()
noIndex
.
public boolean getNoFollow()
noFollow
.
public boolean getNoCache()
noCache
.
public URL getBaseHref()
baseHref
, if set, or null
otherwise.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |