net.sourceforge.blogentis.storage
Interface FileResourceFilter

All Known Implementing Classes:
BlogFiles.FileFilter, BlogFilesAsZip.MediaFilter, BlogMedia.FileFilter

public interface FileResourceFilter

This is used in storage tree retrievals to filter itemas and depth of search.

Author:
abas

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.
 

Method Detail

ignored

public boolean ignored(java.lang.String path)
Check wether this resource should be ignored.

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)
Should the childern of the folder appear in the tree?

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.