org.jboss.virtual.plugins.vfs.helpers
Class SuffixesExcludeFilter

java.lang.Object
  extended by 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

Constructor Summary
SuffixesExcludeFilter(Collection<String> suffixes)
          Create a new SuffixMatchFilter,
 
Method Summary
 boolean accepts(VirtualFile file)
          Match the virtual file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuffixesExcludeFilter

public SuffixesExcludeFilter(Collection<String> suffixes)
Create a new SuffixMatchFilter,

Parameters:
suffixes - the suffixes
Throws:
IllegalArgumentException - for null suffixes
Method Detail

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 © 2009 JBoss, A division of Red Hat, Inc. All Rights Reserved.