This document lists changes made to the General Queries API.
Fuller descriptions of all changes can be found below (follow links).
Not all deprecations are listed here, assuming that the deprecated APIs continue to essentially work. For a full deprecation list, please consult the Javadoc.
fileinfo
package with NonRecursiveFolder
interface.
These API specification versions may be used to indicate that a module requires a certain API feature in order to function. For example, if you see here a feature you need which is labelled 1.20, your manifest should contain in its main attributes the line:
OpenIDE-Module-Module-Dependencies: org.netbeans.modules.queries/1 > 1.20
fileinfo
package with NonRecursiveFolder
interface.
org.netbeans.api.queries.FileEncodingQuery
org.netbeans.spi.queries.FileEncodingQueryImplementation
org.netbeans.api.fileinfo.NonRecursiveFolder
FileEncodingQuery
; made by: jtulach; issues:
#94676
Whenever someone queries for encoding of a file object on default file system (e.g. the one that is provided by layers), it will get UTF-8 as the default encoding and not the system one. As a result all resources on layers should be in UTF-8 encoding.
FileEncodingQuery
FileEncodingQueryImplementation
; made by: tzezula; issues:
#42638
Added a query (FileEncodingQuery
) to find out the encoding of the file. The query
delegates to the instances of the SPI interface (FileEncodingQueryImplementation
),
when the SPI implementations don't know anything about the file encoding it returns the encoding
corresponding to the file.encoding property. The API also provides getter and setter for default
project encoding which should be used by the project generator.
fileinfo
package with NonRecursiveFolder
interface.
NonRecursiveFolder
; made by: mentlicher; issues:
#52271
fileinfo
package introduced for classes providing extra
information about files or folders. NonRecursiveFolder
interface
added. It marks a representation of a folder that have non-recursive
content (does not contain subfiles).
To indicate that this is now considered a stable API, the major release version was incremented to 1 from 0.
Clients should begin requesting the new version to avoid a warning at startup.
Built on May 28 2007. | Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.