adding better citation

This commit is contained in:
Josh Long
2010-10-14 11:23:45 -07:00
parent 0bfa8c81bc
commit 5683b6b607
12 changed files with 39 additions and 8 deletions

View File

@@ -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>
*/

View File

@@ -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;

View File

@@ -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