File
Doc
Category
Size
Date
Package
InstallerFileFilter.java
API Doc
Glassfish v2 API
2583
Fri May 04 22:30:26 BST 2007
com.sun.enterprise.addons.util
InstallerFileFilter
java.lang.Object
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
boolean
accept
(
java.io.File
file,
java.lang.String
name)
return p.matcher(name).matches();
Java Code Source