dk.netarkivet.common.utils.cdx
Interface CDXRecordFilter
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- ARCFilenameCDXRecordFilter, SimpleCDXRecordFilter
public interface CDXRecordFilter
- extends java.io.Serializable
Interface defining a filter to use in CDXReader when finding CDXRecords.
process
boolean process(CDXRecord cdxrec)
- Process one CDXRecord - return true/false.
- Parameters:
cdxrec
- the CDXRecord to be processed.
- Returns:
- true or false on whether the processed CDXRecord is "valid"
according to this filter implementation.
true means this CDXRecord is valid!
getFilterName
java.lang.String getFilterName()
- Returns:
- the name of the Filter