net.sourceforge.blogentis.modules.screens
Class BlogMedia.FileFilter

java.lang.Object
  extended bynet.sourceforge.blogentis.modules.screens.BlogMedia.FileFilter
All Implemented Interfaces:
FileResourceFilter
Enclosing class:
BlogMedia

public static class BlogMedia.FileFilter
extends java.lang.Object
implements FileResourceFilter


Constructor Summary
BlogMedia.FileFilter()
           
 
Method Summary
 boolean descendInto(java.lang.String folder)
          Should the childern of the folder appear in the tree?
 boolean ignored(java.lang.String path)
          Check wether this resource should be ignored.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlogMedia.FileFilter

public BlogMedia.FileFilter()
Method Detail

ignored

public boolean ignored(java.lang.String path)
Description copied from interface: FileResourceFilter
Check wether this resource should be ignored.

Specified by:
ignored in interface FileResourceFilter
Parameters:
path - the full path to check.
Returns:
true if this path should not be added in the tree

descendInto

public boolean descendInto(java.lang.String folder)
Description copied from interface: FileResourceFilter
Should the childern of the folder appear in the tree?

Specified by:
descendInto in interface FileResourceFilter
Parameters:
folder - the folder to check.
Returns:
true if the tree should include all descendands of folder.


Copyright © 2003-2004 SourceForge.net. All Rights Reserved.