org.dspace.app.itemupdate
Class BitstreamFilterByFilename

java.lang.Object
  extended by org.dspace.app.itemupdate.BitstreamFilter
      extended by org.dspace.app.itemupdate.BitstreamFilterByFilename

public class BitstreamFilterByFilename
extends BitstreamFilter

BitstreamFilter implementation to filter by filename pattern


Field Summary
 
Fields inherited from class org.dspace.app.itemupdate.BitstreamFilter
props
 
Constructor Summary
BitstreamFilterByFilename()
           
 
Method Summary
 boolean accept(Bitstream bitstream)
          Tests bitstream by matching the regular expression in the properties against the bitstream name
 
Methods inherited from class org.dspace.app.itemupdate.BitstreamFilter
initProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BitstreamFilterByFilename

public BitstreamFilterByFilename()
Method Detail

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 the bitstream matches the criteria
Throws:
BitstreamFilterException


Copyright © 2010 DuraSpace. All Rights Reserved.