org.sourcejammer.client.gui.conf
Class ExcludeFilesByNameFilter

java.lang.Object
  |
  +--org.sourcejammer.client.gui.conf.ExcludeFilesByNameFilter
All Implemented Interfaces:
java.io.FilenameFilter

public class ExcludeFilesByNameFilter
extends java.lang.Object
implements java.io.FilenameFilter

Title: $FileName: ExcludeFilesByNameFilter.java$

Version:
$VerNum: 1$
Author:
$AuthorName: Rob MacGrogan$

$Description: File filter that allows you to specify file names to be excluded.$
$KeyWordsOff: $

Field Summary
private  java.util.HashMap excludedFiles
           
 
Constructor Summary
ExcludeFilesByNameFilter()
           
ExcludeFilesByNameFilter(java.util.HashMap excludeFiles)
          Accepts a HashMap with the names of files to exclude as keys.
 
Method Summary
 boolean accept(java.io.File dir, java.lang.String name)
           
 void excludeFile(java.lang.String name)
          Specifies a file name to exclude.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

excludedFiles

private java.util.HashMap excludedFiles
Constructor Detail

ExcludeFilesByNameFilter

public ExcludeFilesByNameFilter(java.util.HashMap excludeFiles)
Accepts a HashMap with the names of files to exclude as keys.


ExcludeFilesByNameFilter

public ExcludeFilesByNameFilter()
Method Detail

excludeFile

public void excludeFile(java.lang.String name)
Specifies a file name to exclude.


accept

public boolean accept(java.io.File dir,
                      java.lang.String name)
Specified by:
accept in interface java.io.FilenameFilter
See Also:
FilenameFilter.accept(File, String)


Copyright 2003 Soucejammer project.