org.dspace.app.itemupdate
Class OriginalWithDerivativesBitstreamFilter
java.lang.Object
org.dspace.app.itemupdate.BitstreamFilter
org.dspace.app.itemupdate.OriginalWithDerivativesBitstreamFilter
public class OriginalWithDerivativesBitstreamFilter
- extends BitstreamFilter
Filter all bitstreams in the ORIGINAL bundle
Also delete all derivative bitstreams, i.e.
all bitstreams in the TEXT and THUMBNAIL bundles
|
Method Summary |
boolean |
accept(Bitstream bitstream)
Tests bitstream for membership in specified bundles (ORIGINAL, TEXT, THUMBNAIL) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OriginalWithDerivativesBitstreamFilter
public OriginalWithDerivativesBitstreamFilter()
accept
public boolean accept(Bitstream bitstream)
throws BitstreamFilterException
- Tests bitstream for membership in specified bundles (ORIGINAL, TEXT, THUMBNAIL)
- Specified by:
accept in class BitstreamFilter
- Parameters:
bitstream -
- Returns:
- true if bitstream is in specified bundles
- Throws:
BitstreamFilterException
Copyright © 2011 DuraSpace. All Rights Reserved.