adding better citation
This commit is contained in:
@@ -21,6 +21,7 @@ package org.springframework.integration.file.entries;
|
||||
* Simple NOOP implementation for {@link org.springframework.integration.file.entries.EntryListFilter} implementation.
|
||||
* Suitable as a default in implementations.
|
||||
*
|
||||
* @author Iwein Fuld
|
||||
* @author Josh Long
|
||||
* @param <T>
|
||||
*/
|
||||
|
||||
@@ -20,7 +20,15 @@ import org.springframework.util.Assert;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
/**
|
||||
* Simple {@link org.springframework.integration.file.entries.EntryListFilter} that predicates its matches
|
||||
* against any of many configured {@link org.springframework.integration.file.entries.EntryListFilter}
|
||||
*
|
||||
* @author Iwein Fuld
|
||||
* @author Josh Long
|
||||
*
|
||||
* @param <T>
|
||||
*/
|
||||
public class CompositeEntryListFilter<T> implements EntryListFilter<T> {
|
||||
private final Set<EntryListFilter<T>> fileFilters;
|
||||
|
||||
|
||||
@@ -23,11 +23,12 @@ import java.util.regex.Pattern;
|
||||
|
||||
|
||||
/**
|
||||
* <emphasis>experimental</emphasis>
|
||||
* <p/>
|
||||
*
|
||||
*
|
||||
* Filters a listing of entries (T) by qualifying their 'name' (as determined by {@link org.springframework.integration.file.entries.EntryNamer})
|
||||
* against a regular expression (an instance of {@link java.util.regex.Pattern})
|
||||
*
|
||||
* @author Iwein Fuld
|
||||
* @author Josh Long
|
||||
* @param <T> the type of entry
|
||||
*/
|
||||
@@ -59,7 +60,7 @@ public class PatternMatchingEntryListFilter<T> extends AbstractEntryListFilter<T
|
||||
this.pattern = Pattern.compile(this.patternExpression);
|
||||
}
|
||||
Assert.notNull(this.entryNamer, "'entryNamer' must not be null!");
|
||||
Assert.notNull(this.pattern, "'pattern' mustn't be null!");
|
||||
Assert.notNull(this.pattern, "'pattern' must not be null!");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user