org.gerhardb.jibs.optimizer
Class NoDirectories

java.lang.Object
  extended byorg.gerhardb.jibs.optimizer.NoDirectories
All Implemented Interfaces:
java.io.FileFilter

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

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


Constructor Summary
NoDirectories()
           
 
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

NoDirectories

public NoDirectories()
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 © 2002 Gerhard Beck. All rights reserved. Subject to GPL.