org.apache.james.mailrepository.filepair
Class NumberedRepositoryFileFilter

java.lang.Object
  extended by org.apache.james.mailrepository.filepair.NumberedRepositoryFileFilter
All Implemented Interfaces:
java.io.FilenameFilter

public class NumberedRepositoryFileFilter
extends java.lang.Object
implements java.io.FilenameFilter

This filters files based on the extension and is tailored to provide backwards compatibility of the numbered repositories that Avalon does.


Constructor Summary
NumberedRepositoryFileFilter(java.lang.String extension)
           
 
Method Summary
 boolean accept(java.io.File file, java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumberedRepositoryFileFilter

public NumberedRepositoryFileFilter(java.lang.String extension)
Method Detail

accept

public boolean accept(java.io.File file,
                      java.lang.String name)
Specified by:
accept in interface java.io.FilenameFilter


Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.