org.archive.hcc.util
Class HostConstraint

java.lang.Object
  extended by org.archive.hcc.util.HostConstraint

public class HostConstraint
extends java.lang.Object

A set of restrictions associated with a host that limit the scope of a crawl.

Author:
Daniel Bernstein (dbernstein@archive.org)

Field Summary
protected  java.lang.String[] hostArray
           
 
Constructor Summary
HostConstraint(java.lang.String host)
           
 
Method Summary
 java.lang.Boolean getBlock()
           
 java.lang.Long getDocumentLimit()
           
 java.lang.String getHost()
           
 java.lang.Boolean getIgnoreRobots()
           
 java.lang.String getRegex()
           
 java.lang.String getSettingsFileDirectory()
           
 java.lang.String getSettingsFilePath()
           
 void setBlock(java.lang.Boolean block)
           
 void setDocumentLimit(java.lang.Long documentLimit)
           
 void setHost(java.lang.String host)
           
 void setIgnoreRobots(java.lang.Boolean ignoreRobots)
           
 void setRegex(java.lang.String regex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hostArray

protected java.lang.String[] hostArray
Constructor Detail

HostConstraint

public HostConstraint(java.lang.String host)
Method Detail

getSettingsFileDirectory

public java.lang.String getSettingsFileDirectory()

getSettingsFilePath

public java.lang.String getSettingsFilePath()

getBlock

public java.lang.Boolean getBlock()

setBlock

public void setBlock(java.lang.Boolean block)

getDocumentLimit

public java.lang.Long getDocumentLimit()

setDocumentLimit

public void setDocumentLimit(java.lang.Long documentLimit)

getHost

public java.lang.String getHost()

setHost

public void setHost(java.lang.String host)

getIgnoreRobots

public java.lang.Boolean getIgnoreRobots()

setIgnoreRobots

public void setIgnoreRobots(java.lang.Boolean ignoreRobots)

getRegex

public java.lang.String getRegex()

setRegex

public void setRegex(java.lang.String regex)


Copyright © 2005-2008 The Internet Archive. All Rights Reserved.