JBoss VFS 3.1.0.Final-redhat-2

org.jboss.vfs.util
Class IncludeExcludeVisitorAttributes

java.lang.Object
  extended by org.jboss.vfs.VisitorAttributes
      extended by org.jboss.vfs.util.IncludeExcludeVisitorAttributes
All Implemented Interfaces:
VirtualFileFilter

public class IncludeExcludeVisitorAttributes
extends VisitorAttributes
implements VirtualFileFilter

Include/exclude visitor attributes.

Author:
Ales Justin

Field Summary
 
Fields inherited from class org.jboss.vfs.VisitorAttributes
DEFAULT, LEAVES_ONLY, RECURSE, RECURSE_ALL, RECURSE_LEAVES_ONLY
 
Constructor Summary
IncludeExcludeVisitorAttributes(Set<String> includes, Set<String> excludes)
           
 
Method Summary
 boolean accepts(VirtualFile file)
          Match the virtual file
 
Methods inherited from class org.jboss.vfs.VisitorAttributes
getRecurseFilter, isIgnoreErrors, isIncludeHidden, isIncludeRoot, isLeavesOnly, isRecurse, setIgnoreErrors, setIncludeHidden, setIncludeRoot, setLeavesOnly, setRecurseFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IncludeExcludeVisitorAttributes

public IncludeExcludeVisitorAttributes(Set<String> includes,
                                       Set<String> excludes)
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

JBoss VFS 3.1.0.Final-redhat-2

Copyright © 2012 JBoss, A division of Red Hat, Inc. All Rights Reserved.