com.jalios.io
Class ExtensionFilenameFilter

java.lang.Object
  extended by com.jalios.io.ExtensionFilenameFilter
All Implemented Interfaces:
FilenameFilter

public class ExtensionFilenameFilter
extends Object
implements FilenameFilter

This FileFilter filters file according the given extension

Since:
jcms-5.7.0
Version:
$Revision: 17382 $
Author:
Olivier Dedieu

Constructor Summary
ExtensionFilenameFilter(String ext)
           
 
Method Summary
 boolean accept(File dir, String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtensionFilenameFilter

public ExtensionFilenameFilter(String ext)
Method Detail

accept

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


Copyright © 2001-2010 Jalios SA. All Rights Reserved.