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

Change History for the SendOpts API and SPI - NetBeans API Javadoc (Current Development Version)

Introduction

What do the Dates Mean?

The supplied dates indicate when the API change was made, on the CVS trunk. From this you can generally tell whether the change should be present in a given build or not; for trunk builds, simply whether it was made before or after the change; for builds on a stabilization branch, whether the branch was made before or after the given date. In some cases corresponding API changes have been made both in the trunk and in an in-progress stabilization branch, if they were needed for a bug fix; this ought to be marked in this list.


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: $codebase > 1.20

Changes by affected class

org.netbeans.api.sendopts.CommandException

org.netbeans.api.sendopts.CommandLine

org.netbeans.spi.sendopts.Env

org.netbeans.spi.sendopts.Option


Details of all changes by API and date


SendOpts API

Command exceptions can have localized messages

Mar 18 '06; API spec. version: 1.8; affected top-level classes: CommandException; made by: jtulach
There is a new factory method in CommandException that can influence the localized message which is then printed to the user as a description of the error.

Using PrintStream

Mar 15 '06; API spec. version: 1.7; affected top-level classes: CommandLine; made by: jtulach
There is new method usage that allows to print description of all available options in the command line.

SendOpts SPI

Use short description for each Option

Mar 18 '06; API spec. version: 1.8; affected top-level classes: Option; made by: jtulach
Use Option.shortDescription to associate a one-liner text with an option. This description will be printed when showing usage for the command line.

Using PrintStream

Feb 26 '06; API spec. version: 1.4; affected top-level classes: Env; made by: jtulach
Env.getErrorStream() and Env.getOutputStream() return PrintStream.

Uncategorized changes

Completelly rewritten

Aug 20 '06; API spec. version: 2.0; made by: jtulach
After the review from others it has been decided to de-generify the interfaces. As a result of this complete rewrite, the API clients need to be fully rewritten as most of the method signatures changed.

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