org.dspace.app.itemupdate
Class BitstreamFilterByFilename
java.lang.Object
org.dspace.app.itemupdate.BitstreamFilter
org.dspace.app.itemupdate.BitstreamFilterByFilename
public class BitstreamFilterByFilename
- extends BitstreamFilter
BitstreamFilter implementation to filter by filename pattern
|
Method Summary |
boolean |
accept(Bitstream bitstream)
Tests bitstream by matching the regular expression in the
properties against the bitstream name |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BitstreamFilterByFilename
public BitstreamFilterByFilename()
accept
public boolean accept(Bitstream bitstream)
throws BitstreamFilterException
- Tests bitstream by matching the regular expression in the
properties against the bitstream name
- Specified by:
accept in class BitstreamFilter
- Returns:
- whether bitstream name matches the regular expression
- Throws:
BitstreamFilterException
Copyright © 2012 DuraSpace. All Rights Reserved.