TUM CCSM Commons

edu.tum.cs.commons.filesystem
Class FilenameFilter

java.lang.Object
  extended by edu.tum.cs.commons.filesystem.FilenameFilter
All Implemented Interfaces:
FileFilter

public class FilenameFilter
extends Object
implements FileFilter

This is a file filter that accepts only filenames out of a list of filenames

Version:
$Rev: 26283 $
Author:
Elmar Juergens, $Author: juergens $
Rating:
GREEN Hash: 7DA7526D19E61401397E1515B6135BD1

Constructor Summary
FilenameFilter(Collection<String> filenames)
          Constructor
 
Method Summary
 boolean accept(File file)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilenameFilter

public FilenameFilter(Collection<String> filenames)
Constructor

Method Detail

accept

public boolean accept(File file)

Specified by:
accept in interface FileFilter

TUM CCSM Commons

TUM CCSM Commons - 2.7