站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 5.0.0

org.netbeans.api.queries (NetBeans General Queries API) - NetBeans API Javadoc 5.0.0

 

Package org.netbeans.api.queries

General "queries" or communication channels pertaining to aspects of how files are used and related.

See:
          Description

Interface Summary
FileBuiltQuery.Status Result of getting built status for a file.
 

Class Summary
CollocationQuery Find out whether some files logically belong in one directory tree, for example as part of a VCS checkout.
FileBuiltQuery Test whether a file can be considered to be built (up to date).
SharabilityQuery Determine whether files should be shared (for example in a VCS) or are intended to be unshared.
VisibilityQuery Determine whether files should be hidden in views presented to the user.
 

Package org.netbeans.api.queries Description

General "queries" or communication channels pertaining to aspects of how files are used and related.

These queries permit a module to ascertain limited kinds of information about files or other interesting artifacts, where the information is ultimately supplied by a possibly unrelated module, without mandating a direct dependency. The querier is insulated from needing to understand, much less rely on details of, the model used by the query implementation.

Although the queries are heavily used by project-related code, they may be both queried and implemented without any projects at all.

CollocationQuery checks whether files are logically part of one directory tree and thus whether relative paths between them would have any sense. FileBuiltQuery can be used to see if a file that can be "built", currently needs to be. SharabilityQuery checks whether a file is intended to be important data kept in a version-control system.


 

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