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 BitstreamFilterBitstreamFilterExceptionCopyright © 2016 DuraSpace. All Rights Reserved.