Class IgnoreFilter
- java.lang.Object
-
- net.sf.basedb.clients.web.extensions.IgnoreFilter
-
- All Implemented Interfaces:
Filter<ExtensionsFile>
public class IgnoreFilter extends Object implements Filter<ExtensionsFile>
Filter implementation that selects only those extensions that was selected for ignoring by the user in the gui. Eg. if the request parameter filename.ignore is set.- Since:
- 3.10
- Author:
- Nicklas
-
-
Field Summary
Fields Modifier and Type Field Description private HttpServletRequest
request
-
Constructor Summary
Constructors Constructor Description IgnoreFilter(HttpServletRequest request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
evaluate(ExtensionsFile xtFile)
Evaluate if the given object should pass the filter or not.
-
-
-
Field Detail
-
request
private final HttpServletRequest request
-
-
Constructor Detail
-
IgnoreFilter
public IgnoreFilter(HttpServletRequest request)
-
-
Method Detail
-
evaluate
public boolean evaluate(ExtensionsFile xtFile)
Description copied from interface:Filter
Evaluate if the given object should pass the filter or not.- Specified by:
evaluate
in interfaceFilter<ExtensionsFile>
- Parameters:
xtFile
- The object to evaluate- Returns:
- TRUE if the object passes the filter, FALSE otherwise
-
-