Package dk.netarkivet.common.utils.cdx
Interface CDXRecordFilter
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ARCFilenameCDXRecordFilter
,SimpleCDXRecordFilter
public interface CDXRecordFilter extends Serializable
Interface defining a filter to use in CDXReader when finding CDXRecords.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getFilterName()
boolean
process(CDXRecord cdxrec)
Process one CDXRecord - return true/false.
-
-
-
Method Detail
-
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
String getFilterName()
- Returns:
- the name of the Filter
-
-