Package com.jalios.io

Class RegexpFileFilter

  • All Implemented Interfaces:
    java.io.FileFilter

    public class RegexpFileFilter
    extends java.lang.Object
    implements java.io.FileFilter
    This class implements java.io.FileFilter and uses a regexp to accept files
    Version:
    $Revision: 45343 $
    Author:
    Cecile Lepape, Olivier Dedieu
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String REVISION  
    • Constructor Summary

      Constructors 
      Constructor Description
      RegexpFileFilter​(java.lang.String regexp)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accept​(java.io.File pathname)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RegexpFileFilter

        public RegexpFileFilter​(java.lang.String regexp)
                         throws org.apache.oro.text.regex.MalformedPatternException
        Throws:
        org.apache.oro.text.regex.MalformedPatternException
    • Method Detail

      • accept

        public boolean accept​(java.io.File pathname)
        Specified by:
        accept in interface java.io.FileFilter