org.dspace.app.itemupdate
Class OriginalBitstreamFilter
java.lang.Object
org.dspace.app.itemupdate.BitstreamFilter
org.dspace.app.itemupdate.BitstreamFilterByBundleName
org.dspace.app.itemupdate.OriginalBitstreamFilter
public class OriginalBitstreamFilter
- extends BitstreamFilterByBundleName
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 bitstreams for containment in an ORIGINAL bundle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OriginalBitstreamFilter
public OriginalBitstreamFilter()
accept
public boolean accept(Bitstream bitstream)
throws BitstreamFilterException
- Tests bitstreams for containment in an ORIGINAL bundle
- Overrides:
accept in class BitstreamFilterByBundleName
- Returns:
- true if the bitstream is in the ORIGINAL bundle
- Throws:
BitstreamFilterException
Copyright © 2011 DuraSpace. All Rights Reserved.