当前页面:
在线文档首页 >
NetBeans API Javadoc 4.1.0
NonRecursiveFolder (NetBeans General Queries API) - NetBeans API Javadoc 4.1.0
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. |
getFolder
public 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.