FileDocCategorySizeDatePackage
JarFileFilter.javaAPI DocGlassfish v2 API2471Fri May 04 22:30:26 BST 2007com.sun.enterprise.addons.util

JarFileFilter

public class JarFileFilter extends Object implements FilenameFilter
A FilenameFilter that accepts any jar file. "jar" is case insensitive.
since
9.1
authod
binod@dev.java.net

Fields Summary
Pattern
p
Constructors Summary
public JarFileFilter()

      
        p = Pattern.compile(".*\\.[j|J][a|A][r|R]");
    
Methods Summary
public booleanaccept(java.io.File file, java.lang.String name)

        return p.matcher(name).matches();