Package org.dspace.app.itemupdate
Class BitstreamFilterByBundleName
- java.lang.Object
-
- org.dspace.app.itemupdate.BitstreamFilter
-
- 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
Fields Modifier and Type Field Description protected StringbundleName-
Fields inherited from class org.dspace.app.itemupdate.BitstreamFilter
props
-
-
Constructor Summary
Constructors Constructor Description BitstreamFilterByBundleName()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(Bitstream bitstream)Filter bitstream based on bundle name found in properties file-
Methods inherited from class org.dspace.app.itemupdate.BitstreamFilter
initProperties
-
-
-
-
Field Detail
-
bundleName
protected String bundleName
-
-
Method Detail
-
accept
public boolean accept(Bitstream bitstream) throws BitstreamFilterException
Filter bitstream based on bundle name found in properties file- Specified by:
acceptin classBitstreamFilter- Parameters:
bitstream- Bitstream- Returns:
- whether bitstream is in bundle
- Throws:
BitstreamFilterException- if filter error
-
-