|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.api.Filters
public final class Filters

Factory class for the creation of new Filter
instances. Filter instances using this shorthand class
will be created using the ClassLoader associated with
the default Domain's Configuration.
| Method Summary | |
|---|---|
static Filter<ArchivePath> |
exclude(java.lang.Class<?>... classes)
Filter that excludes listed Class. |
static Filter<ArchivePath> |
exclude(java.lang.Package... packages)
Filter that includes listed Package. |
static Filter<ArchivePath> |
exclude(java.lang.String regexp)
Filter that exclude all ArchivePaths that match a given Regular Expression Pattern. |
static Filter<ArchivePath> |
include(java.lang.Class<?>... classes)
Filter that includes listed Class. |
static Filter<ArchivePath> |
include(java.lang.Package... packages)
Filter that excludes listed Package. |
static Filter<ArchivePath> |
include(java.lang.String regexp)
Filer that include all ArchivePaths that match the given Regular Expression Pattern. |
static Filter<ArchivePath> |
includeAll()
Filter that includes all ArchivePaths. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Filter<ArchivePath> includeAll()
Filter that includes all ArchivePaths.
Only meant to be used internally.
Filter that always return truepublic static Filter<ArchivePath> include(java.lang.String regexp)
Filer that include all ArchivePaths that match the given Regular Expression Pattern.
regexp - The expression to include
Filterpublic static Filter<ArchivePath> exclude(java.lang.String regexp)
Filter that exclude all ArchivePaths that match a given Regular Expression Pattern.
regexp - The expression to exclude
Filterpublic static Filter<ArchivePath> exclude(java.lang.Package... packages)
Filter that includes listed Package.
packages - To be included
public static Filter<ArchivePath> include(java.lang.Package... packages)
Filter that excludes listed Package.
packages - To be excluded
public static Filter<ArchivePath> include(java.lang.Class<?>... classes)
Filter that includes listed Class.
classes - To be included
public static Filter<ArchivePath> exclude(java.lang.Class<?>... classes)
Filter that excludes listed Class.
classes - To be excluded
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||