public class BitstreamFilterByFilename extends BitstreamFilter
| Modifier and Type | Field and Description |
|---|---|
protected String |
filenameRegex |
protected Pattern |
pattern |
props| Constructor and Description |
|---|
BitstreamFilterByFilename() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Bitstream bitstream)
Tests bitstream by matching the regular expression in the
properties against the bitstream name
|
initPropertiespublic boolean accept(Bitstream bitstream) throws BitstreamFilterException
accept in class BitstreamFilterbitstream - BitstreamBitstreamFilterException - if filter errorCopyright © 2022 LYRASIS. All rights reserved.