org.dspace.app.itemupdate
Class BitstreamFilterByBundleName

java.lang.Object
  extended by org.dspace.app.itemupdate.BitstreamFilter
      extended by org.dspace.app.itemupdate.BitstreamFilterByBundleName
Direct Known Subclasses:
DerivativeTextBitstreamFilter, OriginalBitstreamFilter, ThumbnailBitstreamFilter

public class BitstreamFilterByBundleName
extends BitstreamFilter

BitstreamFilter implementation to filter by bundle name


Field Summary
protected  String bundleName
           
 
Fields inherited from class org.dspace.app.itemupdate.BitstreamFilter
props
 
Constructor Summary
BitstreamFilterByBundleName()
           
 
Method Summary
 boolean accept(Bitstream bitstream)
          Filter bitstream based on bundle name found in properties file
 
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
 

Field Detail

bundleName

protected String bundleName
Constructor Detail

BitstreamFilterByBundleName

public BitstreamFilterByBundleName()
Method Detail

accept

public boolean accept(Bitstream bitstream)
               throws BitstreamFilterException
Filter bitstream based on bundle name found in properties file

Specified by:
accept in class BitstreamFilter
Parameters:
bitstream -
Returns:
whether the bitstream matches the criteria
Throws:
BitstreamFilterException


Copyright © 2010 DuraSpace. All Rights Reserved.