Class FileListFilter

  • All Implemented Interfaces:
    java.io.FilenameFilter

    public class FileListFilter
    extends java.lang.Object
    implements java.io.FilenameFilter
    This class provides the lists of files
    • Constructor Summary

      Constructors 
      Constructor Description
      FileListFilter​(java.lang.String name, java.lang.String extension)
      Creates a new FileListFilter object.
    • Method Summary

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

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

      • FileListFilter

        public FileListFilter​(java.lang.String name,
                              java.lang.String extension)
        Creates a new FileListFilter object.
        Parameters:
        name - The name of the file
        extension - The extension of the file
    • Method Detail

      • accept

        public boolean accept​(java.io.File fileDirectory,
                              java.lang.String fileName)
        Specified by:
        accept in interface java.io.FilenameFilter
        Parameters:
        fileDirectory - The name of directory
        fileName - The name of the file
        Returns:
        fileOK The