com.eurotech.framework.protocol.pcn
Class LogFileFilter
java.lang.Object
com.eurotech.framework.protocol.pcn.LogFileFilter
- All Implemented Interfaces:
- FilenameFilter
public class LogFileFilter
- extends Object
- implements FilenameFilter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALL
public static final int ALL
- See Also:
- Constant Field Values
SAME_DAY
public static final int SAME_DAY
- See Also:
- Constant Field Values
BEFORE
public static final int BEFORE
- See Also:
- Constant Field Values
AFTER
public static final int AFTER
- See Also:
- Constant Field Values
YESTERDAY
public static final int YESTERDAY
- See Also:
- Constant Field Values
LogFileFilter
public LogFileFilter(String ext,
int filter,
int age)
- Parameters:
ext
- - file extensionfilter
- - file filter as
age
- - age as int
accept
public boolean accept(File directory,
String filename)
- Specified by:
accept
in interface FilenameFilter
Copyright © 2013. All Rights Reserved.