DDFilterpublic class DDFilter extends Object implements FilenameFilterAccepted file names are ejb-jar.xml, sun-ejb-jar.xml, web.xml, sun-web.xml,
application.xml, sun-application.xml . |
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 |
Methods Summary |
---|
public boolean | accept(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;
|
|