// Decompiled by DJ v2.6.6.51 Copyright 2000 Atanas Neshkov  Date: 6/15/2001 17:43:24
// Home Page : http://members.fortunecity.com/neshkov/dj.html  - Check often for new version!
// Decompiler options: packimports(3) 
// Source File Name:   com/macromedia/generator/app/LogFileFilter

package com.macromedia.generator.app;

import java.io.File;
import java.io.FilenameFilter;

// Referenced classes of package com.macromedia.generator.app:
//            GenLogFile

class LogFileFilter
    implements FilenameFilter
{

    public LogFileFilter(GenLogFile genlogfile)
    {
        mTokens = null;
        mTokens = genlogfile;
    }

    public boolean accept(File file, String s)
    {
        if(s == null)
            return false;
        return mTokens.verify() && mTokens.getName() != null && s.startsWith(mTokens.getName()) && mTokens.getExtension() != null && s.endsWith(mTokens.getExtension());
    }

    public GenLogFile mTokens;
}