net.sourceforge.jaulp.file.namefilter
Class SimpleFilenameFilter

java.lang.Object
  extended by net.sourceforge.jaulp.file.namefilter.SimpleFilenameFilter
All Implemented Interfaces:
java.io.FilenameFilter

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

The Class SimpleFilenameFilter.

Version:
1.0
Author:
Asterios Raptis

Constructor Summary
SimpleFilenameFilter(java.lang.String filesuffix, boolean acceptDir)
          Instantiates a new simple FilenameFilter.
 
Method Summary
 boolean accept(java.io.File dir, java.lang.String name)
          
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleFilenameFilter

public SimpleFilenameFilter(java.lang.String filesuffix,
                            boolean acceptDir)
Instantiates a new simple FilenameFilter.

Parameters:
filesuffix - the filesuffix
acceptDir - the accept dir
Method Detail

accept

public boolean accept(java.io.File dir,
                      java.lang.String name)

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

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2010. All Rights Reserved.