org.archive.crawler.settings.refinements
Interface Criteria

All Known Implementing Classes:
PortnumberCriteria, RegularExpressionCriteria, TimespanCriteria

public interface Criteria

Superclass for the refinement criteria.

Author:
John Erik Halse.

Method Summary
 java.lang.String getDescription()
          Returns a description of the Criteria's current settings.
 java.lang.String getName()
          Returns the name of the Criteria type.
 boolean isWithinRefinementBounds(UURI uri)
          Check if a uri is within the bounds of this criteria.
 

Method Detail

isWithinRefinementBounds

boolean isWithinRefinementBounds(UURI uri)
Check if a uri is within the bounds of this criteria.

Parameters:
uri - the UURI to check.
Returns:
true if the curi is within the bounds.

getName

java.lang.String getName()
Returns the name of the Criteria type.

Returns:
the name of the Criteria type

getDescription

java.lang.String getDescription()
Returns a description of the Criteria's current settings.

Returns:
a description of the Criteria's current settings.


Copyright © 2003-2011 Internet Archive. All Rights Reserved.