FileDocCategorySizeDatePackage
DDFilter.javaAPI DocGlassfish v2 API3447Fri May 04 22:34:50 BST 2007com.sun.enterprise.diagnostics.util

DDFilter

public class DDFilter extends Object implements FilenameFilter
Accepted file names are ejb-jar.xml, sun-ejb-jar.xml, web.xml, sun-web.xml, application.xml, sun-application.xml .
author
Manisha Umbarje

Fields Summary
private static final String
ejb_jar
private static final String
sun_ejb_jar
private static final String
web
private static final String
sun_web
private static final String
application
private static final String
sun_application
private static final String
META_INF
private static final String
WEB_INF
Constructors Summary
Methods Summary
public booleanaccept(java.io.File aDir, java.lang.String fileName)


           
            
            if (fileName.matches(ejb_jar) || 
                    fileName.matches(sun_ejb_jar) || 
                    fileName.matches(web) || 
                    fileName.matches(sun_web)||
                    fileName.matches(application) ||
                    fileName.matches(sun_application)) {
                return true;
            }
            else
                return false;