Project

General

Profile

Download (773 Bytes) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2015 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9
package eu.etaxonomy.cdm.io.stream;
10

    
11

    
12

    
13
/**
14
 * Interface which allows filtering of stream items.
15
 * @author a.mueller
16
 \* @since 19.07.2015
17
 *
18
 */
19
public interface ItemFilter<ITEM extends Object> {
20

    
21
    /**
22
     * The implementation of this method must return true for
23
     * all items which will be used during import (not filtered out).
24
     * False for all items to filter out (not be used during this import).
25
     * @param item
26
     * @return
27
     */
28
    public boolean toBeRemovedFromStream(ITEM item);
29

    
30
}
(12-12/21)