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

InstallerFileFilter

public class InstallerFileFilter extends Object implements FilenameFilter
A file name filter that accepts any installer jar file. Typically it is _installer.jar file. "jar" extension is case insensitive.
since
9.1
authod
binod@dev.java.net

Fields Summary
Pattern
p
Constructors Summary
public InstallerFileFilter(String name)

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

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