FileDocCategorySizeDatePackage
ZipFilenameFilter.javaAPI DocGlassfish v2 API2449Fri May 04 22:23:14 BST 2007com.sun.enterprise.config.backup

ZipFilenameFilter

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 booleanaccept(java.io.File dir, java.lang.String name)

		return 
			name.toLowerCase().endsWith(".zip") && 
			name.startsWith(Constants.BACKUP_FILENAME_ROOT);