org.sourcejammer.client.gui.conf
Class IncludeFilesByExtensionFilter

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

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

Title: $FileName: IncludeFilesByExtensionFilter.java$

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

$Description: $
$KeyWordsOff: $

Field Summary
private  java.util.HashMap includedExcensions
           
 
Constructor Summary
IncludeFilesByExtensionFilter()
           
IncludeFilesByExtensionFilter(java.util.HashMap extensions)
           
 
Method Summary
 boolean accept(java.io.File dir, java.lang.String name)
           
 void includeExtension(java.lang.String ext)
           
 void resetExtensionList()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

includedExcensions

private java.util.HashMap includedExcensions
Constructor Detail

IncludeFilesByExtensionFilter

public IncludeFilesByExtensionFilter()

IncludeFilesByExtensionFilter

public IncludeFilesByExtensionFilter(java.util.HashMap extensions)
Method Detail

includeExtension

public void includeExtension(java.lang.String ext)

resetExtensionList

public void resetExtensionList()

accept

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


Copyright 2003 Soucejammer project.