Package com.sun.identity.log.util
Class LogFileFilter
- java.lang.Object
-
- com.sun.identity.log.util.LogFileFilter
-
- All Implemented Interfaces:
FilenameFilter
public class LogFileFilter extends Object implements FilenameFilter
Class that implements the FileNameFilter and is used by the VerifierList to get the list of keyfiles and associated logfiles based on a filter criteria.
-
-
Constructor Summary
Constructors Constructor Description LogFileFilter(String filter)Constructor that takes the filter as input to create the File Filter
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(File dir, String name)Implementation of the accept method that creates a filter
-
-
-
Constructor Detail
-
LogFileFilter
public LogFileFilter(String filter)
Constructor that takes the filter as input to create the File Filter- Parameters:
filter- filter to create the File Filter.
-
-
Method Detail
-
accept
public boolean accept(File dir, String name)
Implementation of the accept method that creates a filter- Specified by:
acceptin interfaceFilenameFilter- Parameters:
dir- the path to the location of the files.name- the name to be used.- Returns:
- true if filter is created successfully.
-
-