File
Doc
Category
Size
Date
Package
ZipFilenameFilter.java
API Doc
Glassfish v2 API
2449
Fri May 04 22:23:14 BST 2007
com.sun.enterprise.config.backup
ZipFilenameFilter
java.lang.Object
public class ZipFilenameFilter extends Object implements FilenameFilter
author
bnevins Tiny class. It is here because it is used in 2 places -- RestoreManager and ListManager and it avoids code duplication.
Fields Summary
Constructors Summary
Methods Summary
public
boolean
accept
(
java.io.File
dir,
java.lang.String
name)
return name.toLowerCase().endsWith(".zip") && name.startsWith(Constants.BACKUP_FILENAME_ROOT);
Java Code Source