Skip navigation links
org.netbeans.modules.queries/1 1.67

Package org.netbeans.api.queries

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

See: Description

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.

Skip navigation links
org.netbeans.modules.queries/1 1.67