Package org.dspace.app.itemupdate
Class BitstreamFilter
java.lang.Object
org.dspace.app.itemupdate.BitstreamFilter
- Direct Known Subclasses:
BitstreamFilterByBundleName,BitstreamFilterByFilename,OriginalWithDerivativesBitstreamFilter
Filter interface to be used by ItemUpdate
to determine which bitstreams in an Item
acceptable for removal.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanThe filter methodvoidinitProperties(String filepath)
-
Field Details
-
props
-
-
Constructor Details
-
BitstreamFilter
public BitstreamFilter()
-
-
Method Details
-
accept
The filter method- Parameters:
bitstream- Bitstream- Returns:
- whether the bitstream matches the criteria
- Throws:
BitstreamFilterException- if filter error
-
initProperties
- Parameters:
filepath- - The complete path for the properties file- Throws:
IOException- if IO error
-