|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.common.utils.cdx.SimpleCDXRecordFilter
public abstract class SimpleCDXRecordFilter
A Simple CDXRecordFilter to be extended. It only implements the filtername method.
Constructor Summary | |
---|---|
SimpleCDXRecordFilter(java.lang.String filtername)
|
Method Summary | |
---|---|
java.lang.String |
getFilterName()
|
abstract boolean |
process(CDXRecord cdxrec)
Process one CDXRecord - return true/false. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleCDXRecordFilter(java.lang.String filtername) throws ArgumentNotValid
filtername
- - the name of the filter
ArgumentNotValid
- If 'filtername' equals null or the empty stringMethod Detail |
---|
public java.lang.String getFilterName()
getFilterName
in interface CDXRecordFilter
public abstract boolean process(CDXRecord cdxrec)
CDXRecordFilter
process
in interface CDXRecordFilter
cdxrec
- the CDXRecord to be processed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |