org.jboss.virtual.plugins.vfs.helpers
Class SuffixesExcludeFilter
java.lang.Object
org.jboss.virtual.plugins.vfs.helpers.SuffixesExcludeFilter
- All Implemented Interfaces:
- VirtualFileFilter
public class SuffixesExcludeFilter
- extends Object
- implements VirtualFileFilter
Filters out a set of suffixes
- Version:
- $Revision: 44223 $
- Author:
- adrian@jboss.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SuffixesExcludeFilter
public SuffixesExcludeFilter(Collection<String> suffixes)
- Create a new SuffixMatchFilter,
- Parameters:
suffixes
- the suffixes
- Throws:
IllegalArgumentException
- for null suffixes
accepts
public boolean accepts(VirtualFile file)
- Description copied from interface:
VirtualFileFilter
- Match the virtual file
- Specified by:
accepts
in interface VirtualFileFilter
- Parameters:
file
- the virtual file
- Returns:
- true when it matches
Copyright © 2010 JBoss, A division of Red Hat, Inc. All Rights Reserved.