org.dspace.app.itemupdate
Class BitstreamFilter
java.lang.Object
org.dspace.app.itemupdate.BitstreamFilter
- Direct Known Subclasses:
- BitstreamFilterByBundleName, BitstreamFilterByFilename, OriginalWithDerivativesBitstreamFilter
public abstract class BitstreamFilter
- extends Object
Filter interface to be used by ItemUpdate
to determine which bitstreams in an Item
acceptable for removal.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
props
protected Properties props
BitstreamFilter
public BitstreamFilter()
accept
public abstract boolean accept(Bitstream bitstream)
throws BitstreamFilterException
- The filter method
- Parameters:
bitstream -
- Returns:
- whether the bitstream matches the criteria
- Throws:
BitstreamFilterException
initProperties
public void initProperties(String filepath)
throws IOException
- Parameters:
filepath - - The complete path for the properties file
- Throws:
IOException
Copyright © 2011 DuraSpace. All Rights Reserved.