fr.paris.lutece.util.filesystem
Class FileListFilter
java.lang.Object
fr.paris.lutece.util.filesystem.FileListFilter
- All Implemented Interfaces:
- FilenameFilter
public class FileListFilter
- extends Object
- implements FilenameFilter
This class provides the lists of files
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileListFilter
public FileListFilter(String name,
String extension)
- Creates a new FileListFilter object.
- Parameters:
name
- The name of the fileextension
- The extension of the file
accept
public boolean accept(File fileDirectory,
String fileName)
- Specified by:
accept
in interface FilenameFilter
- Parameters:
fileDirectory
- The name of directoryfileName
- The name of the file
- Returns:
- fileOK The
Copyright © 2014 Mairie de Paris. All Rights Reserved.