at.tuwien.ifs.somtoolbox.util
Class PrefixFilenameFilter
java.lang.Object
at.tuwien.ifs.somtoolbox.util.PrefixFilenameFilter
- All Implemented Interfaces:
- FilenameFilter
public class PrefixFilenameFilter
- extends Object
- implements FilenameFilter
A simple filename filter that checks for the correct prefix of files.
- Version:
- $Id: PrefixFilenameFilter.java 3358 2010-02-11 14:35:07Z mayer $
- Author:
- Sebastian Skritek (0226286, Sebastian.Skritek@gmx.at)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
prefix
private String prefix
PrefixFilenameFilter
public PrefixFilenameFilter(String prefix)
accept
public boolean accept(File dir,
String name)
- Specified by:
accept
in interface FilenameFilter