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

Change History for the General Queries API API - NetBeans API Javadoc (Current Development Version)

Introduction

This document lists changes made to the General Queries API.


Index of APIs

Incompatible changes by date

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.

All changes by date

Changes by version

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

Changes by affected class

org.netbeans.api.queries.FileEncodingQuery

org.netbeans.spi.queries.FileEncodingQueryImplementation

org.netbeans.api.fileinfo.NonRecursiveFolder


Details of all changes by API and date


General Queries API

Default Encoding of System File System is always UTF-8

Mar 28 '07; API spec. version: 1.10; affected top-level classes: 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.


Compatibility:

Added support for obtaining encoding of files

Feb 8 '07; API spec. version: 1.9; affected top-level classes: 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.


Compatibility:

Added fileinfo package with NonRecursiveFolder interface.

Jan 14 '05; API spec. version: 1.4; affected top-level classes: 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).

Switched to major release version 1

Dec 22 '04; API spec. version: 1.3; made by: jglick; issues: #51468

To indicate that this is now considered a stable API, the major release version was incremented to 1 from 0.


Compatibility:

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.