Package org.jbundle.jbackup.filter
Class PathFilter
- java.lang.Object
-
- org.jbundle.jbackup.filter.PathFilter
-
- All Implemented Interfaces:
FilenameFilter
public class PathFilter extends Object implements FilenameFilter
Path Filter.- Version:
- 1.0.0
- Author:
- Don Corley
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringm_strOkayPath
-
Constructor Summary
Constructors Constructor Description PathFilter(String strOkayPath)Creates new PathFilter
-
-
-
Field Detail
-
m_strOkayPath
protected String m_strOkayPath
-
-
Constructor Detail
-
PathFilter
public PathFilter(String strOkayPath)
Creates new PathFilter
-
-
Method Detail
-
accept
public boolean accept(File dir, String filename)
Accept this file?- Specified by:
acceptin interfaceFilenameFilter- Parameters:
dir- The directory this file is in.filename- The filename.
-
-