org.apache.james.repository.file
Class NumberedRepositoryFileFilter
java.lang.Object
org.apache.james.repository.file.NumberedRepositoryFileFilter
- All Implemented Interfaces:
- FilenameFilter
public class NumberedRepositoryFileFilter
- extends Object
- implements FilenameFilter
This filters files based on the extension and is tailored to provide
backwards compatibility of the numbered repositories that Avalon does.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NumberedRepositoryFileFilter
public NumberedRepositoryFileFilter(String extension)
- Default Constructor
- Parameters:
extension - the extension for which checked
accept
public boolean accept(File file,
String name)
- Specified by:
accept in interface FilenameFilter
- See Also:
FilenameFilter.accept(File, String)
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.