C:\cvs\SqlDeployerMbean\src\com\redneck\tools\SqlFileFilter.java
package com.redneck.tools;

import java.io.File;
import java.io.FileFilter;

public class SqlFileFilter implements FileFilter {

        /**
         * Only pick up SQL scripts
         * 
         * @see java.io.FileFilter#accept(java.io.File)
         */
        public boolean accept(File arg0) {
                return (arg0.getName().endsWith(".sql") || arg0.getName().endsWith(".SQL")); 
        }
}