org.gerhardb.lib.util
Class NoFiles

java.lang.Object
  extended by org.gerhardb.lib.util.NoFiles
All Implemented Interfaces:
java.io.FileFilter

public class NoFiles
extends java.lang.Object
implements java.io.FileFilter

Filters out directories. Based on having a period in name at moment.


Field Summary
static NoFiles NO_FILES
           
 
Constructor Summary
NoFiles()
           
 
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
 

Field Detail

NO_FILES

public static final NoFiles NO_FILES
Constructor Detail

NoFiles

public NoFiles()
Method Detail

accept

public boolean accept(java.io.File file)
Specified by:
accept in interface java.io.FileFilter
Parameters:
file - The path to the file without the actual file.
Returns:
true this is a file otherwise false


Copyright ? 2007 Gerhard Beck. All rights reserved. Subject to GPL.