Package com.jalios.io

Class ExtensionFilenameFilter

  • All Implemented Interfaces:
    java.io.FilenameFilter

    public class ExtensionFilenameFilter
    extends java.lang.Object
    implements java.io.FilenameFilter
    This FileFilter filters file according the given extension
    Since:
    jcms-5.7.0
    Version:
    $Revision: 17382 $
    Author:
    Olivier Dedieu
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accept​(java.io.File dir, java.lang.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​(java.lang.String ext)
    • Method Detail

      • accept

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