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