org.netbeans.modules.queries/1 1.7.22

org.netbeans.api.fileinfo
Interface NonRecursiveFolder


public interface NonRecursiveFolder

Marker interface for representation of a folder without subfolders. When an implementation of this interface is contained in the lookup of a node, actions on that node should not process the subfolders of this folder. It is permitted for a Node to have both the DataFolder and NonRecursiveFolder in its lookup. In this case the getFolder() has to return the same FileObject as the DataFolder method. Any action which checks for the NonRecursiveFolder at all must prefer it to the DataFolder since it is considered to be more specific information.

Since:
1.4

Method Summary
 FileObject getFolder()
          Get the folder file object, which represents the non-recursive folder.
 

Method Detail

getFolder

FileObject getFolder()
Get the folder file object, which represents the non-recursive folder. Only direct children should be processed, no sub-folders.

Returns:
The file object that represents non-recursive folder.

org.netbeans.modules.queries/1 1.7.22

Built on July 11 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.