com.ecyrd.jspwiki.providers
Class BasicAttachmentProvider.AttachmentVersionFilter

java.lang.Object
  extended by com.ecyrd.jspwiki.providers.BasicAttachmentProvider.AttachmentVersionFilter
All Implemented Interfaces:
FilenameFilter
Enclosing class:
BasicAttachmentProvider

public static class BasicAttachmentProvider.AttachmentVersionFilter
extends Object
implements FilenameFilter

Accepts only files that are actual versions, no control files.


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

Constructor Detail

BasicAttachmentProvider.AttachmentVersionFilter

public BasicAttachmentProvider.AttachmentVersionFilter()
Method Detail

accept

public boolean accept(File dir,
                      String name)

Specified by:
accept in interface FilenameFilter