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 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;

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
    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