org.apache.wiki.providers
Class BasicAttachmentProvider.AttachmentFilter

java.lang.Object
  extended by org.apache.wiki.providers.BasicAttachmentProvider.AttachmentFilter
All Implemented Interfaces:
FilenameFilter
Enclosing class:
BasicAttachmentProvider

public static class BasicAttachmentProvider.AttachmentFilter
extends Object
implements FilenameFilter

Returns only those directories that contain attachments.


Constructor Summary
BasicAttachmentProvider.AttachmentFilter()
           
 
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.AttachmentFilter

public BasicAttachmentProvider.AttachmentFilter()
Method Detail

accept

public boolean accept(File dir,
                      String name)

Specified by:
accept in interface FilenameFilter


Copyright © {inceptionYear}-2014 The Apache Software Foundation. All rights reserved.