com.sun.grizzly.http.servlet.deployer.filter
Class ExtensionFileNameFilter

java.lang.Object
  extended by com.sun.grizzly.http.servlet.deployer.filter.ExtensionFileNameFilter
All Implemented Interfaces:
FilenameFilter

public class ExtensionFileNameFilter
extends Object
implements FilenameFilter

Author:
Sebastien Dionne

Constructor Summary
ExtensionFileNameFilter(List<String> extensions)
           
 
Method Summary
 boolean accept(File dir, String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtensionFileNameFilter

public ExtensionFileNameFilter(List<String> extensions)
Method Detail

accept

public boolean accept(File dir,
                      String name)
Specified by:
accept in interface FilenameFilter


Copyright © 2012 Oracle Corporation. All Rights Reserved.