org.databene.commons.file
Class MultiFileSuffixFilter

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

public class MultiFileSuffixFilter
extends java.lang.Object
implements FileFilter

Matches files by checking their suffix to be one of the specified values.

Created: 23.04.2007 07:59:34

Author:
Volker Bergmann

Constructor Summary
MultiFileSuffixFilter(boolean caseSensitive, java.lang.String... suffixes)
           
 
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

MultiFileSuffixFilter

public MultiFileSuffixFilter(boolean caseSensitive,
                             java.lang.String... suffixes)
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.