Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2003, 2007 s IT Solutions AT Spardat GmbH . All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: s IT Solutions AT Spardat GmbH - initial API and implementation /
/*
 * Created on 07.11.2003
 *
 * To change the template for this generated file go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
package at.spardat.xma.boot.cleanup;

Author(s):
s3595 To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments
public class CleanupFileFilter implements FileFilter {
    private String strFileExtension;
    public CleanupFileFilter() {
         = null;
    }
    public CleanupFileFilter(String strFileExtensionIn ) {
         = strFileExtensionIn;
    }
    /* (non-Javadoc)
     * @see java.io.FileFilter#accept(java.io.File)
     */
    public boolean accept(File pathname) {
        if(==null || pathname==null) {
            return true;
        }
        ifpathname.getName().endsWith() ) {
            return true;
        }
      return false;
    }
New to GrepCode? Check out our FAQ X