Package proguard.io
Class DataEntryParentFilter
- java.lang.Object
-
- proguard.io.DataEntryParentFilter
-
- All Implemented Interfaces:
DataEntryFilter
public class DataEntryParentFilter extends java.lang.Object implements DataEntryFilter
ThisDataEntryFilter
delegates filtering to aDataEntryFilter
for its parent.
-
-
Constructor Summary
Constructors Constructor Description DataEntryParentFilter(DataEntryFilter dataEntryFilter)
Creates a new ParentFilter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accepts(DataEntry dataEntry)
Checks whether the filter accepts the given data entry.
-
-
-
Constructor Detail
-
DataEntryParentFilter
public DataEntryParentFilter(DataEntryFilter dataEntryFilter)
Creates a new ParentFilter.- Parameters:
dataEntryFilter
- the filter that will be applied to the data entry's parent.
-
-
Method Detail
-
accepts
public boolean accepts(DataEntry dataEntry)
Description copied from interface:DataEntryFilter
Checks whether the filter accepts the given data entry.- Specified by:
accepts
in interfaceDataEntryFilter
- Parameters:
dataEntry
- the data entry to filter.- Returns:
- a boolean indicating whether the filter accepts the given data entry.
-
-