public class SimpleIndexInclusionFilter extends Object implements DataProviderFilter
Modifier and Type | Field and Description |
---|---|
protected static SimpleLogger |
logger |
Constructor and Description |
---|
SimpleIndexInclusionFilter(int[] indexes)
Initializes indexes to be included for filter using an array of indexes.
|
SimpleIndexInclusionFilter(String filterIndexes)
Initializes indexes to be included for filter using a conforming string.
|
protected static final SimpleLogger logger
public SimpleIndexInclusionFilter(String filterIndexes)
filterIndexes
- - sets the indexes string that will be used in the filtering. It is in the format of:
public SimpleIndexInclusionFilter(int[] indexes)
indexes
- - sets the indexes that will be used in the filtering. It is an array of integers starting from 1.public boolean filter(Object data)
filter
in interface DataProviderFilter
data
- the object to be filtered.Copyright © 2016 PayPal Open Source. All rights reserved.