public class ARCFilenameCDXRecordFilter extends SimpleCDXRecordFilter
Constructor and Description |
---|
ARCFilenameCDXRecordFilter(String arcfilenamepattern,
String filtername)
Class constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getFilenamePattern()
Get the filename pattern used by this filter.
|
boolean |
process(CDXRecord cdxrec)
Process one CDXRecord - return true/false.
|
getFilterName
public ARCFilenameCDXRecordFilter(String arcfilenamepattern, String filtername) throws ArgumentNotValid
arcfilenamepattern
- The filename pattern to be used by this filterfiltername
- The name of this filterArgumentNotValid
- If any argument are null or an empty string.public String getFilenamePattern()
public boolean process(CDXRecord cdxrec)
CDXRecordFilter
process
in interface CDXRecordFilter
process
in class SimpleCDXRecordFilter
cdxrec
- the CDXRecord to be processed.Copyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.