TUM CCSM Commons

edu.tum.cs.commons.filesystem
Class FilenameFilter

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

public class FilenameFilter
extends java.lang.Object
implements java.io.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(java.util.Collection<java.lang.String> filenames)
          Constructor
 
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

FilenameFilter

public FilenameFilter(java.util.Collection<java.lang.String> filenames)
Constructor

Method Detail

accept

public boolean accept(java.io.File file)

Specified by:
accept in interface java.io.FileFilter

TUM CCSM Commons

TUM CCSM Commons - 2.7