FileDocCategorySizeDatePackage
FilenameFilterImpl.javaAPI DocGlassfish v2 API2573Fri May 04 22:35:44 BST 2007com.sun.enterprise.server.logging

FilenameFilterImpl

public class FilenameFilterImpl extends Object implements FilenameFilter
This is a Filename filter that basically accepts the filenames that starts with the name server.log, so that we will list the archived appserver log files only.
author
Hemanth Puttaswamy

Fields Summary
Constructors Summary
Methods Summary
public booleanaccept(java.io.File dir, java.lang.String fileName)

        //.lck file should be filtered out.
        if (fileName.indexOf( ".lck" ) != -1 ) return false;
        if( fileName.indexOf( ".log" ) != -1 ) return true;
        
        return false;