|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PatternFilterable
A PatternFilterable represents some file container which Ant-style include and exclude patterns can be
applied to.
Patterns may include:
all files ending with 'jsp' (including subdirectories)
**/*.jsp
all files beginning with 'template_' in the level1/level2 directory
level1/level2/template_*
all files (including subdirectories) beneath src/main/webapp
src/main/webapp/
all files beneath any .svn directory (including subdirectories) under src/main/java
src/main/java/**/.svn/**
| Method Summary | |
|---|---|
PatternFilterable |
exclude(java.lang.Iterable<java.lang.String> excludes)
Adds an ANT style exclude pattern. |
PatternFilterable |
exclude(java.lang.String... excludes)
Adds an ANT style exclude pattern. |
java.util.Set<java.lang.String> |
getExcludes()
Get the set of exclude patterns. |
java.util.Set<java.lang.String> |
getIncludes()
Get the set of include patterns. |
PatternFilterable |
include(java.lang.Iterable<java.lang.String> includes)
Adds an ANT style include pattern. |
PatternFilterable |
include(java.lang.String... includes)
Adds an ANT style include pattern. |
PatternFilterable |
setExcludes(java.lang.Iterable<java.lang.String> excludes)
Set the allowable exclude patterns. |
PatternFilterable |
setIncludes(java.lang.Iterable<java.lang.String> includes)
Set the allowable include patterns. |
| Method Detail |
|---|
java.util.Set<java.lang.String> getIncludes()
java.util.Set<java.lang.String> getExcludes()
PatternFilterable setIncludes(java.lang.Iterable<java.lang.String> includes)
include(Iterable)
this replaces any previously defined includes.
includes - an Iterable providing new include patternsPattern FormatPatternFilterable setExcludes(java.lang.Iterable<java.lang.String> excludes)
exclude(Iterable)
this replaces any previously defined excludes.
excludes - an Iterable providing new exclude patternsPattern FormatPatternFilterable include(java.lang.String... includes)
includes - a vararg list of include patternsPattern FormatPatternFilterable include(java.lang.Iterable<java.lang.String> includes)
includes - a Iterable providing more include patternsPattern FormatPatternFilterable exclude(java.lang.String... excludes)
excludes - a vararg list of exclude patternsPattern FormatPatternFilterable exclude(java.lang.Iterable<java.lang.String> excludes)
excludes - a Iterable providing new exclude patternsPattern Format
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||