public class JarFilter extends Object implements FilenameFilter
This class checks that only jar and zip files are included in the file list. This class is used in extension installation support (ExtensionDependency).
| Constructor and Description |
|---|
JarFilter() |
public JarFilter()
public boolean accept(File dir, String name)
FilenameFilteraccept in interface FilenameFilterdir - the directory in which the file was found.name - the name of the file.true if and only if the name should be
included in the file list; false otherwise.