public class LogFileFilter extends Object implements FilenameFilter
Constructor and Description |
---|
LogFileFilter(String filter)
Constructor that takes the filter as input to create the File Filter
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(File dir,
String name)
Implementation of the accept method that creates a filter
|
public LogFileFilter(String filter)
filter
- filter to create the File Filter.public boolean accept(File dir, String name)
accept
in interface FilenameFilter
dir
- the path to the location of the files.name
- the name to be used.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.