org.databene.commons.file
Class FileSuffixFilter

java.lang.Object
  extended by org.databene.commons.file.FileSuffixFilter
All Implemented Interfaces:
java.io.FileFilter, Filter<java.io.File>

public class FileSuffixFilter
extends java.lang.Object
implements FileFilter

Filters files matching their suffix with a required suffix.

Created: 10.04.2007 08:19:03

Author:
Volker Bergmann

Constructor Summary
FileSuffixFilter(java.lang.String suffix, boolean caseSensitive)
           
 
Method Summary
 boolean accept(java.io.File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSuffixFilter

public FileSuffixFilter(java.lang.String suffix,
                        boolean caseSensitive)
Method Detail

accept

public boolean accept(java.io.File file)
Specified by:
accept in interface java.io.FileFilter
Specified by:
accept in interface Filter<java.io.File>


Copyright © 2010. All Rights Reserved.