org.jboss.shrinkwrap.impl.base.filter
Class IncludeRegExpPaths
java.lang.Object
org.jboss.shrinkwrap.impl.base.filter.IncludeRegExpPaths
- All Implemented Interfaces:
- Filter<ArchivePath>
public class IncludeRegExpPaths
- extends Object
- implements Filter<ArchivePath>
IncludeRegExpPath
Filter to include all ArchivePath
s that match a given Regular Expression.
- Version:
- $Revision: $
- Author:
- Aslak Knutsen
Method Summary |
boolean |
include(ArchivePath path)
Called per operation in a multi add operation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IncludeRegExpPaths
public IncludeRegExpPaths(String expression)
include
public boolean include(ArchivePath path)
- Description copied from interface:
Filter
- Called per operation in a multi add operation.
- Specified by:
include
in interface Filter<ArchivePath>
- Parameters:
path
- a object to filter on
- Returns:
- true if the object should be included in target
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.