Package | Description |
---|---|
java.applet |
Provides the classes necessary to create an applet and the classes an applet
uses to communicate with its applet context.
|
java.awt |
Contains all of the classes for creating user interfaces and for painting
graphics and images.
|
java.awt.datatransfer |
Provides interfaces and classes for transferring data between and within
applications.
|
java.awt.event |
Provides interfaces and classes for dealing with different types of events
fired by AWT components.
|
java.awt.image.renderable |
Provides classes and interfaces for producing rendering-independent images.
|
java.beans |
Contains classes related to developing beans -- components based on
the JavaBeans™ architecture.
|
java.io |
Provides for system input and output through data streams,
serialization and the file system.
|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
java.lang.reflect |
Provides classes and interfaces for obtaining reflective information about
modules, classes and objects.
|
java.math |
Provides classes for performing arbitrary-precision integer
arithmetic (
BigInteger ) and arbitrary-precision decimal
arithmetic (BigDecimal ). |
java.net |
Provides the classes for implementing networking applications.
|
java.rmi |
Provides the RMI package.
|
java.rmi.dgc |
Provides classes and interface for RMI distributed
garbage-collection (DGC).
|
java.rmi.registry |
Provides a class and two interfaces for the RMI registry.
|
java.rmi.server |
Provides classes and interfaces for supporting the server
side of RMI.
|
java.security |
Provides the classes and interfaces for the security framework.
|
java.security.acl |
The classes and interfaces in this package have been deprecated.
|
java.sql |
Provides the API for accessing and processing data stored in a
data source (usually a relational database) using the
Java™ programming language.
|
java.util |
Contains the collections framework, legacy collection classes,
event model, date and time facilities, internationalization, and
miscellaneous utility classes (a string tokenizer, a random-number
generator, and a bit array).
|
java.util.concurrent.atomic |
A small toolkit of classes that support lock-free thread-safe
programming on single variables.
|
java.util.jar |
Provides classes for reading and writing the JAR (Java ARchive)
file format, which is based on the standard ZIP file format with an
optional manifest file.
|
java.util.logging |
Provides the classes and interfaces of
the Java™ 2 platform's core logging facilities.
|
javax.accessibility |
Defines a contract between user-interface components and an assistive
technology that provides access to those components.
|
javax.imageio.spi |
A package of the Java Image I/O API containing the plug-in interfaces for
readers, writers, transcoders, and streams, and a runtime registry.
|
javax.jws.soap | |
javax.lang.model.util |
Utilities to assist in the processing of
program elements and
types.
|
javax.management |
Provides the core classes for the Java Management Extensions.
|
javax.management.loading |
Provides the classes which implement advanced dynamic
loading.
|
javax.management.monitor |
Provides the definition of the monitor classes.
|
javax.management.openmbean |
Provides the open data types and Open MBean descriptor classes.
|
javax.management.remote.rmi |
The RMI connector is a connector for the JMX Remote API that
uses RMI to transmit client requests to a remote MBean server.
|
javax.naming |
Provides the classes and interfaces for accessing naming services.
|
javax.net.ssl |
Provides classes for the secure socket package.
|
javax.security.auth |
This package provides a framework for authentication and
authorization.
|
javax.security.cert |
Provides classes for public key certificates.
|
javax.sql.rowset |
Standard interfaces and base classes for JDBC
RowSet
implementations. |
javax.swing |
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
|
javax.swing.plaf |
Provides one interface and many abstract classes that Swing uses to provide
its pluggable look-and-feel capabilities.
|
javax.swing.plaf.basic |
Provides user interface objects built according to the Basic look and feel.
|
javax.swing.plaf.metal |
Provides user interface objects built according to the Java look and feel
(once codenamed Metal), which is the default look and feel.
|
javax.swing.plaf.multi |
Provides user interface objects that combine two or more look and feels.
|
javax.swing.table |
Provides classes and interfaces for dealing with
javax.swing.JTable . |
javax.swing.text |
Provides classes and interfaces that deal with editable and noneditable text
components.
|
javax.swing.text.html |
Provides the class
HTMLEditorKit and supporting classes for creating
HTML text editors. |
javax.swing.tree |
Provides classes and interfaces for dealing with
javax.swing.JTree . |
javax.tools |
Provides interfaces for tools which can be invoked from a program,
for example, compilers.
|
javax.xml.stream | |
org.omg.CORBA |
Provides the mapping of the OMG CORBA APIs to the JavaTM
programming language, including the class
ORB , which is implemented
so that a programmer can use it as a fully-functional Object Request Broker
(ORB). |
org.omg.CORBA.portable |
Provides a portability layer, that is, a set of ORB APIs
that makes it possible for code generated
by one vendor to run on another vendor's ORB.
|
org.xml.sax |
This package provides the core SAX APIs.
|
org.xml.sax.helpers |
This package contains "helper" classes, including
support for bootstrapping SAX-based applications.
|
Modifier and Type | Class | Description |
---|---|---|
class |
Applet |
Deprecated.
The Applet API is deprecated. See the
java.applet package documentation
for further information.
|
interface |
AppletContext |
Deprecated.
The Applet API is deprecated. See the
java.applet package documentation
for further information.
|
interface |
AppletStub |
Deprecated.
The Applet API is deprecated. See the
java.applet package documentation
for further information.
|
interface |
AudioClip |
Deprecated.
The Applet API is deprecated. See the
java.applet package documentation
for further information.
|
Modifier and Type | Class | Description |
---|---|---|
class |
Event |
Deprecated.
It is recommended that
AWTEvent and its subclasses be
used instead |
Modifier and Type | Field | Description |
---|---|---|
static int |
Frame.CROSSHAIR_CURSOR |
Deprecated.
replaced by
Cursor.CROSSHAIR_CURSOR . |
static int |
Frame.DEFAULT_CURSOR |
Deprecated.
replaced by
Cursor.DEFAULT_CURSOR . |
static int |
Frame.E_RESIZE_CURSOR |
Deprecated.
replaced by
Cursor.E_RESIZE_CURSOR . |
static int |
Frame.HAND_CURSOR |
Deprecated.
replaced by
Cursor.HAND_CURSOR . |
static int |
Frame.MOVE_CURSOR |
Deprecated.
replaced by
Cursor.MOVE_CURSOR . |
static int |
Frame.N_RESIZE_CURSOR |
Deprecated.
replaced by
Cursor.N_RESIZE_CURSOR . |
static int |
Frame.NE_RESIZE_CURSOR |
Deprecated.
replaced by
Cursor.NE_RESIZE_CURSOR . |
static int |
Frame.NW_RESIZE_CURSOR |
Deprecated.
replaced by
Cursor.NW_RESIZE_CURSOR . |
protected static Cursor[] |
Cursor.predefined |
Deprecated.
As of JDK version 1.7, the
Cursor.getPredefinedCursor(int)
method should be used instead. |
static int |
Frame.S_RESIZE_CURSOR |
Deprecated.
replaced by
Cursor.S_RESIZE_CURSOR . |
static int |
Frame.SE_RESIZE_CURSOR |
Deprecated.
replaced by
Cursor.SE_RESIZE_CURSOR . |
static int |
Frame.SW_RESIZE_CURSOR |
Deprecated.
replaced by
Cursor.SW_RESIZE_CURSOR . |
static int |
Frame.TEXT_CURSOR |
Deprecated.
replaced by
Cursor.TEXT_CURSOR . |
static int |
Frame.W_RESIZE_CURSOR |
Deprecated.
replaced by
Cursor.W_RESIZE_CURSOR . |
static int |
Frame.WAIT_CURSOR |
Deprecated.
replaced by
Cursor.WAIT_CURSOR . |
Modifier and Type | Method | Description |
---|---|---|
boolean |
Component.action(Event evt,
Object what) |
Deprecated.
As of JDK version 1.1,
should register this component as ActionListener on component
which fires action events.
|
void |
List.addItem(String item) |
Deprecated.
replaced by
add(String) . |
void |
List.addItem(String item,
int index) |
Deprecated.
replaced by
add(String, int) . |
void |
BorderLayout.addLayoutComponent(String name,
Component comp) |
Deprecated.
replaced by
addLayoutComponent(Component, Object) . |
void |
CardLayout.addLayoutComponent(String name,
Component comp) |
Deprecated.
replaced by
addLayoutComponent(Component, Object) . |
boolean |
List.allowsMultipleSelections() |
Deprecated.
As of JDK version 1.1,
replaced by
isMultipleMode() . |
void |
TextArea.appendText(String str) |
Deprecated.
As of JDK version 1.1,
replaced by
append(String) . |
void |
Window.applyResourceBundle(String rbName) |
Deprecated.
As of J2SE 1.4, replaced by
Component.applyComponentOrientation . |
void |
Window.applyResourceBundle(ResourceBundle rb) |
Deprecated.
As of J2SE 1.4, replaced by
Component.applyComponentOrientation . |
Rectangle |
Component.bounds() |
Deprecated.
As of JDK version 1.1,
replaced by
getBounds() . |
void |
List.clear() |
Deprecated.
As of JDK version 1.1,
replaced by
removeAll() . |
int |
Container.countComponents() |
Deprecated.
As of JDK version 1.1,
replaced by getComponentCount().
|
int |
Choice.countItems() |
Deprecated.
As of JDK version 1.1,
replaced by
getItemCount() . |
int |
List.countItems() |
Deprecated.
As of JDK version 1.1,
replaced by
getItemCount() . |
int |
Menu.countItems() |
Deprecated.
As of JDK version 1.1,
replaced by
getItemCount() . |
int |
MenuBar.countMenus() |
Deprecated.
As of JDK version 1.1,
replaced by
getMenuCount() . |
void |
List.delItem(int position) |
Deprecated.
replaced by
remove(String)
and remove(int) . |
void |
List.delItems(int start,
int end) |
Deprecated.
As of JDK version 1.1,
Not for public use in the future.
This method is expected to be retained only as a package
private method.
|
void |
Component.deliverEvent(Event e) |
Deprecated.
As of JDK version 1.1,
replaced by
dispatchEvent(AWTEvent e) . |
void |
Container.deliverEvent(Event e) |
Deprecated.
As of JDK version 1.1,
replaced by
dispatchEvent(AWTEvent e) |
void |
Component.disable() |
Deprecated.
As of JDK version 1.1,
replaced by
setEnabled(boolean) . |
void |
MenuItem.disable() |
Deprecated.
As of JDK version 1.1,
replaced by
setEnabled(boolean) . |
void |
Component.enable() |
Deprecated.
As of JDK version 1.1,
replaced by
setEnabled(boolean) . |
void |
Component.enable(boolean b) |
Deprecated.
As of JDK version 1.1,
replaced by
setEnabled(boolean) . |
void |
MenuItem.enable() |
Deprecated.
As of JDK version 1.1,
replaced by
setEnabled(boolean) . |
void |
MenuItem.enable(boolean b) |
Deprecated.
As of JDK version 1.1,
replaced by
setEnabled(boolean) . |
Rectangle |
Polygon.getBoundingBox() |
Deprecated.
As of JDK version 1.1,
replaced by
getBounds() . |
Rectangle |
Graphics.getClipRect() |
Deprecated.
As of JDK version 1.1,
replaced by
getClipBounds() . |
Checkbox |
CheckboxGroup.getCurrent() |
Deprecated.
As of JDK version 1.1,
replaced by
getSelectedCheckbox() . |
int |
Frame.getCursorType() |
Deprecated.
As of JDK version 1.1,
replaced by
Component.getCursor() . |
abstract String[] |
Toolkit.getFontList() |
Deprecated.
|
abstract FontMetrics |
Toolkit.getFontMetrics(Font font) |
Deprecated.
As of JDK version 1.2, replaced by the
Font
method getLineMetrics . |
int |
Scrollbar.getLineIncrement() |
Deprecated.
As of JDK version 1.1,
replaced by
getUnitIncrement() . |
int |
FontMetrics.getMaxDecent() |
Deprecated.
As of JDK version 1.1.1,
replaced by
getMaxDescent() . |
static ComponentOrientation |
ComponentOrientation.getOrientation(ResourceBundle bdl) |
Deprecated.
As of J2SE 1.4, use
ComponentOrientation.getOrientation(java.util.Locale) . |
int |
Scrollbar.getPageIncrement() |
Deprecated.
As of JDK version 1.1,
replaced by
getBlockIncrement() . |
int |
Scrollbar.getVisible() |
Deprecated.
As of JDK version 1.1,
replaced by
getVisibleAmount() . |
boolean |
Component.gotFocus(Event evt,
Object what) |
Deprecated.
As of JDK version 1.1,
replaced by processFocusEvent(FocusEvent).
|
boolean |
Component.handleEvent(Event evt) |
Deprecated.
As of JDK version 1.1
replaced by processEvent(AWTEvent).
|
void |
Component.hide() |
Deprecated.
As of JDK version 1.1,
replaced by
setVisible(boolean) . |
void |
Dialog.hide() |
Deprecated.
As of JDK version 1.5, replaced by
setVisible(boolean) . |
void |
Window.hide() |
Deprecated.
As of JDK version 1.5, replaced by
Window.setVisible(boolean) . |
void |
TextArea.insertText(String str,
int pos) |
Deprecated.
As of JDK version 1.1,
replaced by
insert(String, int) . |
Insets |
Container.insets() |
Deprecated.
As of JDK version 1.1,
replaced by
getInsets() . |
boolean |
Component.inside(int x,
int y) |
Deprecated.
As of JDK version 1.1,
replaced by contains(int, int).
|
boolean |
Polygon.inside(int x,
int y) |
Deprecated.
As of JDK version 1.1,
replaced by
contains(int, int) . |
boolean |
Rectangle.inside(int X,
int Y) |
Deprecated.
As of JDK version 1.1,
replaced by
contains(int, int) . |
boolean |
Component.isFocusTraversable() |
Deprecated.
As of 1.4, replaced by
isFocusable() . |
boolean |
List.isSelected(int index) |
Deprecated.
As of JDK version 1.1,
replaced by
isIndexSelected(int) . |
boolean |
Component.keyDown(Event evt,
int key) |
Deprecated.
As of JDK version 1.1,
replaced by processKeyEvent(KeyEvent).
|
boolean |
Component.keyUp(Event evt,
int key) |
Deprecated.
As of JDK version 1.1,
replaced by processKeyEvent(KeyEvent).
|
void |
Component.layout() |
Deprecated.
As of JDK version 1.1,
replaced by
doLayout() . |
void |
Container.layout() |
Deprecated.
As of JDK version 1.1,
replaced by
doLayout() . |
void |
ScrollPane.layout() |
Deprecated.
As of JDK version 1.1,
replaced by
doLayout() . |
Component |
Component.locate(int x,
int y) |
Deprecated.
As of JDK version 1.1,
replaced by getComponentAt(int, int).
|
Component |
Container.locate(int x,
int y) |
Deprecated.
As of JDK version 1.1,
replaced by
getComponentAt(int, int) . |
Point |
Component.location() |
Deprecated.
As of JDK version 1.1,
replaced by
getLocation() . |
boolean |
Component.lostFocus(Event evt,
Object what) |
Deprecated.
As of JDK version 1.1,
replaced by processFocusEvent(FocusEvent).
|
Dimension |
Component.minimumSize() |
Deprecated.
As of JDK version 1.1,
replaced by
getMinimumSize() . |
Dimension |
Container.minimumSize() |
Deprecated.
As of JDK version 1.1,
replaced by
getMinimumSize() . |
Dimension |
List.minimumSize() |
Deprecated.
As of JDK version 1.1,
replaced by
getMinimumSize() . |
Dimension |
List.minimumSize(int rows) |
Deprecated.
As of JDK version 1.1,
replaced by
getMinimumSize(int) . |
Dimension |
TextArea.minimumSize() |
Deprecated.
As of JDK version 1.1,
replaced by
getMinimumSize() . |
Dimension |
TextArea.minimumSize(int rows,
int columns) |
Deprecated.
As of JDK version 1.1,
replaced by
getMinimumSize(int, int) . |
Dimension |
TextField.minimumSize() |
Deprecated.
As of JDK version 1.1,
replaced by
getMinimumSize() . |
Dimension |
TextField.minimumSize(int columns) |
Deprecated.
As of JDK version 1.1,
replaced by
getMinimumSize(int) . |
boolean |
Component.mouseDown(Event evt,
int x,
int y) |
Deprecated.
As of JDK version 1.1,
replaced by processMouseEvent(MouseEvent).
|
boolean |
Component.mouseDrag(Event evt,
int x,
int y) |
Deprecated.
As of JDK version 1.1,
replaced by processMouseMotionEvent(MouseEvent).
|
boolean |
Component.mouseEnter(Event evt,
int x,
int y) |
Deprecated.
As of JDK version 1.1,
replaced by processMouseEvent(MouseEvent).
|
boolean |
Component.mouseExit(Event evt,
int x,
int y) |
Deprecated.
As of JDK version 1.1,
replaced by processMouseEvent(MouseEvent).
|
boolean |
Component.mouseMove(Event evt,
int x,
int y) |
Deprecated.
As of JDK version 1.1,
replaced by processMouseMotionEvent(MouseEvent).
|
boolean |
Component.mouseUp(Event evt,
int x,
int y) |
Deprecated.
As of JDK version 1.1,
replaced by processMouseEvent(MouseEvent).
|
void |
Component.move(int x,
int y) |
Deprecated.
As of JDK version 1.1,
replaced by
setLocation(int, int) . |
void |
Rectangle.move(int x,
int y) |
Deprecated.
As of JDK version 1.1,
replaced by
setLocation(int, int) . |
void |
Component.nextFocus() |
Deprecated.
As of JDK version 1.1,
replaced by transferFocus().
|
boolean |
Component.postEvent(Event e) |
Deprecated.
As of JDK version 1.1,
replaced by dispatchEvent(AWTEvent).
|
boolean |
MenuComponent.postEvent(Event evt) |
Deprecated.
As of JDK version 1.1, replaced by
dispatchEvent . |
boolean |
MenuContainer.postEvent(Event evt) |
Deprecated.
As of JDK version 1.1
replaced by dispatchEvent(AWTEvent).
|
boolean |
Window.postEvent(Event e) |
Deprecated.
As of JDK version 1.1
replaced by
dispatchEvent(AWTEvent) . |
Dimension |
Component.preferredSize() |
Deprecated.
As of JDK version 1.1,
replaced by
getPreferredSize() . |
Dimension |
Container.preferredSize() |
Deprecated.
As of JDK version 1.1,
replaced by
getPreferredSize() . |
Dimension |
List.preferredSize() |
Deprecated.
As of JDK version 1.1,
replaced by
getPreferredSize() . |
Dimension |
List.preferredSize(int rows) |
Deprecated.
As of JDK version 1.1,
replaced by
getPreferredSize(int) . |
Dimension |
TextArea.preferredSize() |
Deprecated.
As of JDK version 1.1,
replaced by
getPreferredSize() . |
Dimension |
TextArea.preferredSize(int rows,
int columns) |
Deprecated.
As of JDK version 1.1,
replaced by
getPreferredSize(int, int) . |
Dimension |
TextField.preferredSize() |
Deprecated.
As of JDK version 1.1,
replaced by
getPreferredSize() . |
Dimension |
TextField.preferredSize(int columns) |
Deprecated.
As of JDK version 1.1,
replaced by
getPreferredSize(int) . |
protected static void |
AWTKeyStroke.registerSubclass(Class<?> subclass) |
Deprecated.
|
void |
TextArea.replaceText(String str,
int start,
int end) |
Deprecated.
As of JDK version 1.1,
replaced by
replaceRange(String, int, int) . |
void |
Component.reshape(int x,
int y,
int width,
int height) |
Deprecated.
As of JDK version 1.1,
replaced by
setBounds(int, int, int, int) . |
void |
Rectangle.reshape(int x,
int y,
int width,
int height) |
Deprecated.
As of JDK version 1.1,
replaced by
setBounds(int, int, int, int) . |
void |
Window.reshape(int x,
int y,
int width,
int height) |
Deprecated.
As of JDK version 1.1,
replaced by
setBounds(int, int, int, int) . |
void |
Component.resize(int width,
int height) |
Deprecated.
As of JDK version 1.1,
replaced by
setSize(int, int) . |
void |
Component.resize(Dimension d) |
Deprecated.
As of JDK version 1.1,
replaced by
setSize(Dimension) . |
void |
Rectangle.resize(int width,
int height) |
Deprecated.
As of JDK version 1.1,
replaced by
setSize(int, int) . |
void |
CheckboxGroup.setCurrent(Checkbox box) |
Deprecated.
As of JDK version 1.1,
replaced by
setSelectedCheckbox(Checkbox) . |
void |
Frame.setCursor(int cursorType) |
Deprecated.
As of JDK version 1.1,
replaced by
Component.setCursor(Cursor) . |
void |
TextField.setEchoCharacter(char c) |
Deprecated.
As of JDK version 1.1,
replaced by
setEchoChar(char) . |
void |
Scrollbar.setLineIncrement(int v) |
Deprecated.
As of JDK version 1.1,
replaced by
setUnitIncrement(int) . |
void |
List.setMultipleSelections(boolean b) |
Deprecated.
As of JDK version 1.1,
replaced by
setMultipleMode(boolean) . |
void |
Scrollbar.setPageIncrement(int v) |
Deprecated.
As of JDK version 1.1,
replaced by
setBlockIncrement() . |
void |
Component.show() |
Deprecated.
As of JDK version 1.1,
replaced by
setVisible(boolean) . |
void |
Component.show(boolean b) |
Deprecated.
As of JDK version 1.1,
replaced by
setVisible(boolean) . |
void |
Dialog.show() |
Deprecated.
As of JDK version 1.5, replaced by
setVisible(boolean) . |
void |
Window.show() |
Deprecated.
As of JDK version 1.5, replaced by
Window.setVisible(boolean) . |
Dimension |
Component.size() |
Deprecated.
As of JDK version 1.1,
replaced by
getSize() . |
Constructor | Description |
---|---|
AWTEvent(Event event) |
Deprecated.
It is recommended that
AWTEvent(Object, int) be used
instead |
Modifier and Type | Field | Description |
---|---|---|
static DataFlavor |
DataFlavor.plainTextFlavor |
Deprecated.
as of 1.3. Use
DataFlavor.getReaderForText(Transferable)
instead of Transferable.getTransferData(DataFlavor.plainTextFlavor) . |
Modifier and Type | Method | Description |
---|---|---|
boolean |
DataFlavor.equals(String s) |
Deprecated.
As inconsistent with
hashCode() contract,
use isMimeTypeEqual(String) instead. |
protected String |
DataFlavor.normalizeMimeType(String mimeType) |
Deprecated.
|
protected String |
DataFlavor.normalizeMimeTypeParameter(String parameterName,
String parameterValue) |
Deprecated.
|
Modifier and Type | Field | Description |
---|---|---|
static int |
InputEvent.ALT_GRAPH_MASK |
Deprecated.
It is recommended that ALT_GRAPH_DOWN_MASK and
InputEvent.getModifiersEx() be used instead |
static int |
InputEvent.ALT_MASK |
Deprecated.
It is recommended that ALT_DOWN_MASK and
InputEvent.getModifiersEx() be used instead |
static int |
InputEvent.BUTTON1_MASK |
Deprecated.
It is recommended that BUTTON1_DOWN_MASK and
InputEvent.getModifiersEx() be used instead |
static int |
InputEvent.BUTTON2_MASK |
Deprecated.
It is recommended that BUTTON2_DOWN_MASK and
InputEvent.getModifiersEx() be used instead. Note that
BUTTON2_MASK has the same value as ALT_MASK. |
static int |
InputEvent.BUTTON3_MASK |
Deprecated.
It is recommended that BUTTON3_DOWN_MASK and
InputEvent.getModifiersEx() be used instead. Note that
BUTTON3_MASK has the same value as META_MASK. |
static int |
InputEvent.CTRL_MASK |
Deprecated.
It is recommended that CTRL_DOWN_MASK and
InputEvent.getModifiersEx() be used instead |
static int |
InputEvent.META_MASK |
Deprecated.
It is recommended that META_DOWN_MASK and
InputEvent.getModifiersEx() be used instead |
static int |
InputEvent.SHIFT_MASK |
Deprecated.
It is recommended that SHIFT_DOWN_MASK and
InputEvent.getModifiersEx() be used instead |
Modifier and Type | Method | Description |
---|---|---|
static String |
KeyEvent.getKeyModifiersText(int modifiers) |
Deprecated.
It is recommended that extended modifier keys and
InputEvent.getModifiersExText(int) be used instead |
int |
InputEvent.getModifiers() |
Deprecated.
It is recommended that extended modifier keys and
InputEvent.getModifiersEx() be used instead |
void |
KeyEvent.setModifiers(int modifiers) |
Deprecated.
as of JDK1.1.4
|
Constructor | Description |
---|---|
KeyEvent(Component source,
int id,
long when,
int modifiers,
int keyCode) |
Deprecated.
as of JDK1.1; use
KeyEvent(Component, int, long, int, int, char) instead |
Modifier and Type | Method | Description |
---|---|---|
void |
RenderContext.concetenateTransform(AffineTransform modTransform) |
Deprecated.
replaced by
concatenateTransform(AffineTransform) . |
void |
RenderContext.preConcetenateTransform(AffineTransform modTransform) |
Deprecated.
replaced by
preConcatenateTransform(AffineTransform) . |
Modifier and Type | Interface | Description |
---|---|---|
interface |
AppletInitializer |
Deprecated.
The Applet API is deprecated. See the
java.applet package
documentation for further information.
|
Modifier and Type | Method | Description |
---|---|---|
static Object |
Beans.instantiate(ClassLoader cls,
String beanName,
BeanContext beanContext,
AppletInitializer initializer) |
Deprecated.
It is recommended to use
Beans.instantiate(ClassLoader, String, BeanContext) ,
because the Applet API is deprecated. See the
java.applet package
documentation for further information. |
Modifier and Type | Class | Description |
---|---|---|
class |
LineNumberInputStream |
Deprecated.
This class incorrectly assumes that bytes adequately represent
characters. As of JDK 1.1, the preferred way to operate on
character streams is via the new character-stream classes, which
include a class for counting line numbers.
|
class |
StringBufferInputStream |
Deprecated.
This class does not properly convert characters into bytes. As
of JDK 1.1, the preferred way to create a stream from a
string is via the
StringReader class. |
Modifier and Type | Method | Description |
---|---|---|
String |
DataInputStream.readLine() |
Deprecated.
This method does not properly convert bytes to characters.
As of JDK 1.1, the preferred way to read lines of text is via the
BufferedReader.readLine() method. Programs that use the
DataInputStream class to read lines can be converted to use
the BufferedReader class by replacing code of the form:
with:DataInputStream d = new DataInputStream(in); BufferedReader d = new BufferedReader(new InputStreamReader(in)); |
String |
ObjectInputStream.readLine() |
Deprecated.
This method does not properly convert bytes to characters.
see DataInputStream for the details and alternatives.
|
String |
ByteArrayOutputStream.toString(int hibyte) |
Deprecated.
This method does not properly convert bytes into characters.
As of JDK 1.1, the preferred way to do this is via the
toString(String enc) method, which takes an encoding-name
argument, or the toString() method, which uses the
platform's default character encoding. |
URL |
File.toURL() |
|
abstract void |
ObjectOutputStream.PutField.write(ObjectOutput out) |
Deprecated.
This method does not write the values contained by this
PutField object in a proper format, and may
result in corruption of the serialization stream. The
correct way to write PutField data is by
calling the ObjectOutputStream.writeFields()
method. |
Constructor | Description |
---|---|
StreamTokenizer(InputStream is) |
Deprecated.
As of JDK version 1.1, the preferred way to tokenize an
input stream is to convert it into a character stream, for example:
Reader r = new BufferedReader(new InputStreamReader(is)); StreamTokenizer st = new StreamTokenizer(r); |
Modifier and Type | Class | Description |
---|---|---|
class |
Compiler |
Deprecated, for removal: This API element is subject to removal in a future version.
JIT compilers and their technologies vary too widely to
be controlled effectively by a standardized interface. As such, many
JIT compiler implementations ignore this interface, and are instead
controllable by implementation-specific mechanisms such as command-line
options. This class is subject to removal in a future version of Java SE.
|
Modifier and Type | Field | Description |
---|---|---|
protected boolean |
SecurityManager.inCheck |
Deprecated, for removal: This API element is subject to removal in a future version.
This type of security checking is not recommended.
It is recommended that the
checkPermission
call be used instead. This field is subject to removal in a
future version of Java SE. |
static Character.UnicodeBlock |
Character.UnicodeBlock.SURROGATES_AREA |
Deprecated.
Instead of
SURROGATES_AREA , use Character.UnicodeBlock.HIGH_SURROGATES ,
Character.UnicodeBlock.HIGH_PRIVATE_USE_SURROGATES , and Character.UnicodeBlock.LOW_SURROGATES .
These constants match the block definitions of the Unicode Standard.
The Character.UnicodeBlock.of(char) and Character.UnicodeBlock.of(int) methods return the
standard constants. |
Modifier and Type | Method | Description |
---|---|---|
boolean |
ThreadGroup.allowThreadSuspension(boolean b) |
Deprecated.
The definition of this call depends on
ThreadGroup.suspend() ,
which is deprecated. Further, the behavior of this call
was never specified. |
void |
SecurityManager.checkAwtEventQueueAccess() |
Deprecated, for removal: This API element is subject to removal in a future version.
This method was originally used to check if the calling
thread could access the AWT event queue. The method has been
obsoleted and code should instead use
SecurityManager.checkPermission(java.security.Permission)
to check AWTPermission("accessEventQueue") .
This method is subject to removal in a future version of Java SE. |
void |
SecurityManager.checkMemberAccess(Class<?> clazz,
int which) |
Deprecated, for removal: This API element is subject to removal in a future version.
This method relies on the caller being at a stack depth
of 4 which is error-prone and cannot be enforced by the runtime.
Users of this method should instead invoke
SecurityManager.checkPermission(java.security.Permission)
directly.
This method is subject to removal in a future version of Java SE. |
void |
SecurityManager.checkMulticast(InetAddress maddr,
byte ttl) |
Deprecated.
Use #checkPermission(java.security.Permission) instead
|
void |
SecurityManager.checkSystemClipboardAccess() |
Deprecated, for removal: This API element is subject to removal in a future version.
This method was originally used to check if the calling
thread could access the system clipboard. The method has been
obsoleted and code should instead use
SecurityManager.checkPermission(java.security.Permission)
to check AWTPermission("accessClipboard") .
This method is subject to removal in a future version of Java SE. |
boolean |
SecurityManager.checkTopLevelWindow(Object window) |
Deprecated, for removal: This API element is subject to removal in a future version.
This method was originally used to check if the calling thread
was trusted to bring up a top-level window. The method has been
obsoleted and code should instead use
SecurityManager.checkPermission(java.security.Permission)
to check AWTPermission("showWindowWithoutWarningBanner") .
This method is subject to removal in a future version of Java SE. |
protected int |
SecurityManager.classDepth(String name) |
Deprecated, for removal: This API element is subject to removal in a future version.
This type of security checking is not recommended.
It is recommended that the
checkPermission
call be used instead. This method is subject to removal in a
future version of Java SE. |
protected int |
SecurityManager.classLoaderDepth() |
Deprecated, for removal: This API element is subject to removal in a future version.
This type of security checking is not recommended.
It is recommended that the
checkPermission
call be used instead. This method is subject to removal in a
future version of Java SE. |
int |
Thread.countStackFrames() |
Deprecated, for removal: This API element is subject to removal in a future version.
The definition of this call depends on
Thread.suspend() ,
which is deprecated. Further, the results of this call
were never well-defined.
This method is subject to removal in a future version of Java SE. |
protected ClassLoader |
SecurityManager.currentClassLoader() |
Deprecated, for removal: This API element is subject to removal in a future version.
This type of security checking is not recommended.
It is recommended that the
checkPermission
call be used instead. This method is subject to removal in a
future version of Java SE. |
protected Class<?> |
SecurityManager.currentLoadedClass() |
Deprecated, for removal: This API element is subject to removal in a future version.
This type of security checking is not recommended.
It is recommended that the
checkPermission
call be used instead. This method is subject to removal in a
future version of Java SE. |
protected Class<?> |
ClassLoader.defineClass(byte[] b,
int off,
int len) |
Deprecated.
Replaced by
defineClass(String, byte[], int, int) |
void |
Thread.destroy() |
Deprecated, for removal: This API element is subject to removal in a future version.
This method was originally designed to destroy this
thread without any cleanup. Any monitors it held would have
remained locked. However, the method was never implemented.
If it were to be implemented, it would be deadlock-prone in
much the manner of
Thread.suspend() . If the target thread held
a lock protecting a critical system resource when it was
destroyed, no thread could ever access this resource again.
If another thread ever attempted to lock this resource, deadlock
would result. Such deadlocks typically manifest themselves as
"frozen" processes. For more information, see
Why are Thread.stop, Thread.suspend and Thread.resume Deprecated?.
This method is subject to removal in a future version of Java SE. |
void |
String.getBytes(int srcBegin,
int srcEnd,
byte[] dst,
int dstBegin) |
Deprecated.
This method does not properly convert characters into
bytes. As of JDK 1.1, the preferred way to do this is via the
String.getBytes() method, which uses the platform's default charset. |
boolean |
SecurityManager.getInCheck() |
Deprecated, for removal: This API element is subject to removal in a future version.
This type of security checking is not recommended.
It is recommended that the
checkPermission
call be used instead. This method is subject to removal in a
future version of Java SE. |
InputStream |
Runtime.getLocalizedInputStream(InputStream in) |
Deprecated, for removal: This API element is subject to removal in a future version.
As of JDK 1.1, the preferred way to translate a byte
stream in the local encoding into a character stream in Unicode is via
the
InputStreamReader and BufferedReader
classes.
This method is subject to removal in a future version of Java SE. |
OutputStream |
Runtime.getLocalizedOutputStream(OutputStream out) |
Deprecated, for removal: This API element is subject to removal in a future version.
As of JDK 1.1, the preferred way to translate a
Unicode character stream into a byte stream in the local encoding is via
the
OutputStreamWriter , BufferedWriter , and
PrintWriter classes.
This method is subject to removal in a future version of Java SE. |
protected Package |
ClassLoader.getPackage(String name) |
Deprecated.
If multiple class loaders delegate to each other and define classes
with the same package name, and one such loader relies on the lookup
behavior of
getPackage to return a Package from
a parent loader, then the properties exposed by the Package
may not be as expected in the rest of the program.
For example, the Package will only expose annotations from the
package-info.class file defined by the parent loader, even if
annotations exist in a package-info.class file defined by
a child loader. A more robust approach is to use the
ClassLoader.getDefinedPackage(java.lang.String) method which returns
a Package for the specified class loader. |
static Package |
Package.getPackage(String name) |
Deprecated.
If multiple class loaders delegate to each other and define classes
with the same package name, and one such loader relies on the lookup
behavior of
getPackage to return a Package from
a parent loader, then the properties exposed by the Package
may not be as expected in the rest of the program.
For example, the Package will only expose annotations from the
package-info.class file defined by the parent loader, even if
annotations exist in a package-info.class file defined by
a child loader. A more robust approach is to use the
ClassLoader.getDefinedPackage(java.lang.String) method which returns
a Package for the specified class loader. |
protected boolean |
SecurityManager.inClass(String name) |
Deprecated, for removal: This API element is subject to removal in a future version.
This type of security checking is not recommended.
It is recommended that the
checkPermission
call be used instead. This method is subject to removal in a
future version of Java SE. |
protected boolean |
SecurityManager.inClassLoader() |
Deprecated, for removal: This API element is subject to removal in a future version.
This type of security checking is not recommended.
It is recommended that the
checkPermission
call be used instead. This method is subject to removal in a
future version of Java SE. |
static boolean |
Character.isJavaLetter(char ch) |
Deprecated.
Replaced by isJavaIdentifierStart(char).
|
static boolean |
Character.isJavaLetterOrDigit(char ch) |
Deprecated.
Replaced by isJavaIdentifierPart(char).
|
static boolean |
Character.isSpace(char ch) |
Deprecated.
Replaced by isWhitespace(char).
|
T |
Class.newInstance() |
Deprecated.
This method propagates any exception thrown by the
nullary constructor, including a checked exception. Use of
this method effectively bypasses the compile-time exception
checking that would otherwise be performed by the compiler.
The
Constructor.newInstance method avoids this problem by wrapping
any exception thrown by the constructor in a (checked) InvocationTargetException .
The call
can be replaced by
The latter sequence of calls is inferred to be able to throw
the additional exception types InvocationTargetException and NoSuchMethodException . Both of these exception types are
subclasses of ReflectiveOperationException . |
void |
Thread.resume() |
Deprecated.
This method exists solely for use with
Thread.suspend() ,
which has been deprecated because it is deadlock-prone.
For more information, see
Why
are Thread.stop, Thread.suspend and Thread.resume Deprecated?. |
void |
ThreadGroup.resume() |
Deprecated.
This method is used solely in conjunction with
Thread.suspend and ThreadGroup.suspend ,
both of which have been deprecated, as they are inherently
deadlock-prone. See Thread.suspend() for details. |
static void |
Runtime.runFinalizersOnExit(boolean value) |
Deprecated, for removal: This API element is subject to removal in a future version.
This method is inherently unsafe. It may result in
finalizers being called on live objects while other threads are
concurrently manipulating those objects, resulting in erratic
behavior or deadlock.
This method is subject to removal in a future version of Java SE.
|
static void |
System.runFinalizersOnExit(boolean value) |
Deprecated, for removal: This API element is subject to removal in a future version.
This method is inherently unsafe. It may result in
finalizers being called on live objects while other threads are
concurrently manipulating those objects, resulting in erratic
behavior or deadlock.
This method is subject to removal in a future version of Java SE.
|
void |
Thread.stop() |
Deprecated.
This method is inherently unsafe. Stopping a thread with
Thread.stop causes it to unlock all of the monitors that it
has locked (as a natural consequence of the unchecked
ThreadDeath exception propagating up the stack). If
any of the objects previously protected by these monitors were in
an inconsistent state, the damaged objects become visible to
other threads, potentially resulting in arbitrary behavior. Many
uses of stop should be replaced by code that simply
modifies some variable to indicate that the target thread should
stop running. The target thread should check this variable
regularly, and return from its run method in an orderly fashion
if the variable indicates that it is to stop running. If the
target thread waits for long periods (on a condition variable,
for example), the interrupt method should be used to
interrupt the wait.
For more information, see
Why
are Thread.stop, Thread.suspend and Thread.resume Deprecated?. |
void |
Thread.stop(Throwable obj) |
Deprecated, for removal: This API element is subject to removal in a future version.
This method was originally designed to force a thread to stop
and throw a given
Throwable as an exception. It was
inherently unsafe (see Thread.stop() for details), and furthermore
could be used to generate exceptions that the target thread was
not prepared to handle.
For more information, see
Why
are Thread.stop, Thread.suspend and Thread.resume Deprecated?.
This method is subject to removal in a future version of Java SE. |
void |
ThreadGroup.stop() |
Deprecated.
This method is inherently unsafe. See
Thread.stop() for details. |
void |
Thread.suspend() |
Deprecated.
This method has been deprecated, as it is
inherently deadlock-prone. If the target thread holds a lock on the
monitor protecting a critical system resource when it is suspended, no
thread can access this resource until the target thread is resumed. If
the thread that would resume the target thread attempts to lock this
monitor prior to calling
resume , deadlock results. Such
deadlocks typically manifest themselves as "frozen" processes.
For more information, see
Why
are Thread.stop, Thread.suspend and Thread.resume Deprecated?. |
void |
ThreadGroup.suspend() |
Deprecated.
This method is inherently deadlock-prone. See
Thread.suspend() for details. |
void |
Runtime.traceInstructions(boolean on) |
Deprecated, for removal: This API element is subject to removal in a future version.
This method was intended to control instruction tracing.
It has been superseded by JVM-specific tracing mechanisms.
This method is subject to removal in a future version of Java SE.
|
void |
Runtime.traceMethodCalls(boolean on) |
Deprecated, for removal: This API element is subject to removal in a future version.
This method was intended to control method call tracing.
It has been superseded by JVM-specific tracing mechanisms.
This method is subject to removal in a future version of Java SE.
|
Constructor | Description |
---|---|
Boolean(boolean value) |
Deprecated.
It is rarely appropriate to use this constructor. The static factory
Boolean.valueOf(boolean) is generally a better choice, as it is
likely to yield significantly better space and time performance.
Also consider using the final fields Boolean.TRUE and Boolean.FALSE
if possible. |
Boolean(String s) |
Deprecated.
It is rarely appropriate to use this constructor.
Use
Boolean.parseBoolean(String) to convert a string to a
boolean primitive, or use Boolean.valueOf(String)
to convert a string to a Boolean object. |
Byte(byte value) |
Deprecated.
It is rarely appropriate to use this constructor. The static factory
Byte.valueOf(byte) is generally a better choice, as it is
likely to yield significantly better space and time performance. |
Byte(String s) |
Deprecated.
It is rarely appropriate to use this constructor.
Use
Byte.parseByte(String) to convert a string to a
byte primitive, or use Byte.valueOf(String)
to convert a string to a Byte object. |
Character(char value) |
Deprecated.
It is rarely appropriate to use this constructor. The static factory
Character.valueOf(char) is generally a better choice, as it is
likely to yield significantly better space and time performance. |
Double(double value) |
Deprecated.
It is rarely appropriate to use this constructor. The static factory
Double.valueOf(double) is generally a better choice, as it is
likely to yield significantly better space and time performance. |
Double(String s) |
Deprecated.
It is rarely appropriate to use this constructor.
Use
Double.parseDouble(String) to convert a string to a
double primitive, or use Double.valueOf(String)
to convert a string to a Double object. |
Float(double value) |
Deprecated.
It is rarely appropriate to use this constructor. Instead, use the
static factory method
Float.valueOf(float) method as follows:
Float.valueOf((float)value) . |
Float(float value) |
Deprecated.
It is rarely appropriate to use this constructor. The static factory
Float.valueOf(float) is generally a better choice, as it is
likely to yield significantly better space and time performance. |
Float(String s) |
Deprecated.
It is rarely appropriate to use this constructor.
Use
Float.parseFloat(String) to convert a string to a
float primitive, or use Float.valueOf(String)
to convert a string to a Float object. |
Integer(int value) |
Deprecated.
It is rarely appropriate to use this constructor. The static factory
Integer.valueOf(int) is generally a better choice, as it is
likely to yield significantly better space and time performance. |
Integer(String s) |
Deprecated.
It is rarely appropriate to use this constructor.
Use
Integer.parseInt(String) to convert a string to a
int primitive, or use Integer.valueOf(String)
to convert a string to an Integer object. |
Long(long value) |
Deprecated.
It is rarely appropriate to use this constructor. The static factory
Long.valueOf(long) is generally a better choice, as it is
likely to yield significantly better space and time performance. |
Long(String s) |
Deprecated.
It is rarely appropriate to use this constructor.
Use
Long.parseLong(String) to convert a string to a
long primitive, or use Long.valueOf(String)
to convert a string to a Long object. |
Short(short value) |
Deprecated.
It is rarely appropriate to use this constructor. The static factory
Short.valueOf(short) is generally a better choice, as it is
likely to yield significantly better space and time performance. |
Short(String s) |
Deprecated.
It is rarely appropriate to use this constructor.
Use
Short.parseShort(String) to convert a string to a
short primitive, or use Short.valueOf(String)
to convert a string to a Short object. |
String(byte[] ascii,
int hibyte) |
Deprecated.
This method does not properly convert bytes into
characters. As of JDK 1.1, the preferred way to do this is via the
String constructors that take a Charset , charset name, or that use the platform's
default charset. |
String(byte[] ascii,
int hibyte,
int offset,
int count) |
Deprecated.
This method does not properly convert bytes into characters.
As of JDK 1.1, the preferred way to do this is via the
String constructors that take a Charset , charset name, or that use the platform's
default charset. |
Modifier and Type | Method | Description |
---|---|---|
static Class<?> |
Proxy.getProxyClass(ClassLoader loader,
Class<?>... interfaces) |
Deprecated.
Proxy classes generated in a named module are encapsulated and not
accessible to code outside its module.
Constructor.newInstance will throw
IllegalAccessException when it is called on an inaccessible proxy class.
Use Proxy.newProxyInstance(ClassLoader, Class[], InvocationHandler)
to create a proxy instance instead. |
boolean |
AccessibleObject.isAccessible() |
Deprecated.
This method is deprecated because its name hints that it checks
if the reflected object is accessible when it actually indicates
if the checks for Java language access control are suppressed.
This method may return
false on a reflected object that is
accessible to the caller. To test if this reflected object is accessible,
it should use AccessibleObject.canAccess(Object) . |
Modifier and Type | Field | Description |
---|---|---|
static int |
BigDecimal.ROUND_CEILING |
Deprecated.
Use
RoundingMode.CEILING instead. |
static int |
BigDecimal.ROUND_DOWN |
Deprecated.
Use
RoundingMode.DOWN instead. |
static int |
BigDecimal.ROUND_FLOOR |
Deprecated.
Use
RoundingMode.FLOOR instead. |
static int |
BigDecimal.ROUND_HALF_DOWN |
Deprecated.
Use
RoundingMode.HALF_DOWN instead. |
static int |
BigDecimal.ROUND_HALF_EVEN |
Deprecated.
Use
RoundingMode.HALF_EVEN instead. |
static int |
BigDecimal.ROUND_HALF_UP |
Deprecated.
Use
RoundingMode.HALF_UP instead. |
static int |
BigDecimal.ROUND_UNNECESSARY |
Deprecated.
Use
RoundingMode.UNNECESSARY instead. |
static int |
BigDecimal.ROUND_UP |
Deprecated.
Use
RoundingMode.UP instead. |
Modifier and Type | Method | Description |
---|---|---|
BigDecimal |
BigDecimal.divide(BigDecimal divisor,
int roundingMode) |
Deprecated.
The method
BigDecimal.divide(BigDecimal, RoundingMode)
should be used in preference to this legacy method. |
BigDecimal |
BigDecimal.divide(BigDecimal divisor,
int scale,
int roundingMode) |
Deprecated.
The method
BigDecimal.divide(BigDecimal, int, RoundingMode)
should be used in preference to this legacy method. |
BigDecimal |
BigDecimal.setScale(int newScale,
int roundingMode) |
Deprecated.
The method
BigDecimal.setScale(int, RoundingMode) should
be used in preference to this legacy method. |
Modifier and Type | Field | Description |
---|---|---|
static int |
HttpURLConnection.HTTP_SERVER_ERROR |
Deprecated.
it is misplaced and shouldn't have existed.
|
Modifier and Type | Method | Description |
---|---|---|
static String |
URLDecoder.decode(String s) |
Deprecated.
The resulting string may vary depending on the platform's
default encoding. Instead, use the decode(String,String) method
to specify the encoding.
|
static String |
URLEncoder.encode(String s) |
Deprecated.
The resulting string may vary depending on the platform's
default encoding. Instead, use the encode(String,String)
method to specify the encoding.
|
static String |
URLConnection.getDefaultRequestProperty(String key) |
Deprecated.
The instance specific getRequestProperty method
should be used after an appropriate instance of URLConnection
is obtained.
|
protected abstract byte |
DatagramSocketImpl.getTTL() |
Deprecated.
use getTimeToLive instead.
|
byte |
MulticastSocket.getTTL() |
Deprecated.
use the getTimeToLive method instead, which returns
an int instead of a byte.
|
void |
MulticastSocket.send(DatagramPacket p,
byte ttl) |
Deprecated.
Use the following code or its equivalent instead:
......
int ttl = mcastSocket.getTimeToLive();
mcastSocket.setTimeToLive(newttl);
mcastSocket.send(p);
mcastSocket.setTimeToLive(ttl);
......
|
static void |
URLConnection.setDefaultRequestProperty(String key,
String value) |
Deprecated.
The instance specific setRequestProperty method
should be used after an appropriate instance of URLConnection
is obtained. Invoking this method will have no effect.
|
protected abstract void |
DatagramSocketImpl.setTTL(byte ttl) |
Deprecated.
use setTimeToLive instead.
|
void |
MulticastSocket.setTTL(byte ttl) |
Deprecated.
use the setTimeToLive method instead, which uses
int instead of byte as the type for ttl.
|
protected void |
URLStreamHandler.setURL(URL u,
String protocol,
String host,
int port,
String file,
String ref) |
Deprecated.
Use setURL(URL, String, String, int, String, String, String,
String);
|
Constructor | Description |
---|---|
Socket(String host,
int port,
boolean stream) |
Deprecated.
Use DatagramSocket instead for UDP transport.
|
Socket(InetAddress host,
int port,
boolean stream) |
Deprecated.
Use DatagramSocket instead for UDP transport.
|
Modifier and Type | Class | Description |
---|---|---|
class |
RMISecurityException |
Deprecated.
Use
SecurityException instead.
Application code should never directly reference this class, and
RMISecurityManager no longer throws this subclass of
java.lang.SecurityException . |
class |
RMISecurityManager |
Deprecated.
Use
SecurityManager instead. |
class |
ServerRuntimeException |
Deprecated.
no replacement
|
Constructor | Description |
---|---|
RMISecurityException(String name) |
Deprecated.
no replacement
|
RMISecurityException(String name,
String arg) |
Deprecated.
no replacement
|
ServerRuntimeException(String s,
Exception ex) |
Deprecated.
no replacement
|
Modifier and Type | Method | Description |
---|---|---|
static boolean |
VMID.isUnique() |
Deprecated.
|
Modifier and Type | Interface | Description |
---|---|---|
interface |
RegistryHandler |
Deprecated.
no replacement
|
Modifier and Type | Method | Description |
---|---|---|
Registry |
RegistryHandler.registryImpl(int port) |
Deprecated.
no replacement. As of the Java 2 platform v1.2, RMI no
longer uses the
RegistryHandler to obtain the registry's
implementation. |
Registry |
RegistryHandler.registryStub(String host,
int port) |
Deprecated.
no replacement. As of the Java 2 platform v1.2, RMI no
longer uses the
RegistryHandler to obtain the registry's
stub. |
Modifier and Type | Interface | Description |
---|---|---|
interface |
LoaderHandler |
Deprecated.
no replacement
|
class |
LogStream |
Deprecated.
no replacement
|
class |
Operation |
Deprecated.
no replacement
|
interface |
RemoteCall |
Deprecated.
no replacement.
|
class |
RemoteStub |
Deprecated.
Statically generated stubs are deprecated, since
stubs are generated dynamically. See
UnicastRemoteObject
for information about dynamic stub generation. |
interface |
ServerRef |
Deprecated.
No replacement. This interface is unused and is obsolete.
|
interface |
Skeleton |
Deprecated.
no replacement. Skeletons are no longer required for remote
method calls in the Java 2 platform v1.2 and greater.
|
class |
SkeletonMismatchException |
Deprecated.
no replacement. Skeletons are no longer required for remote
method calls in the Java 2 platform v1.2 and greater.
|
class |
SkeletonNotFoundException |
Deprecated.
no replacement. Skeletons are no longer required for remote
method calls in the Java 2 platform v1.2 and greater.
|
class |
SocketSecurityException |
Deprecated.
This class is obsolete. Use
ExportException instead. |
Modifier and Type | Method | Description |
---|---|---|
void |
Skeleton.dispatch(Remote obj,
RemoteCall theCall,
int opnum,
long hash) |
Deprecated.
no replacement
|
void |
RemoteCall.done() |
Deprecated.
no replacement
|
void |
RemoteRef.done(RemoteCall call) |
Deprecated.
1.2 style stubs no longer use this method. Instead of
using a sequence of method calls to the remote reference
(
newCall , invoke , and done ), a
stub uses a single method, invoke(Remote, Method, Object[],
int) , on the remote reference to carry out parameter
marshalling, remote method executing and unmarshalling of the return
value. |
void |
RemoteCall.executeCall() |
Deprecated.
no replacement
|
static RemoteStub |
UnicastRemoteObject.exportObject(Remote obj) |
Deprecated.
This method is deprecated because it supports only static stubs.
Use
exportObject(Remote, port) or
exportObject(Remote, port, csf, ssf)
instead. |
static PrintStream |
LogStream.getDefaultStream() |
Deprecated.
no replacement
|
ObjectInput |
RemoteCall.getInputStream() |
Deprecated.
no replacement
|
String |
Operation.getOperation() |
Deprecated.
no replacement
|
Operation[] |
Skeleton.getOperations() |
Deprecated.
no replacement
|
OutputStream |
LogStream.getOutputStream() |
Deprecated.
no replacement
|
ObjectOutput |
RemoteCall.getOutputStream() |
Deprecated.
no replacement
|
ObjectOutput |
RemoteCall.getResultStream(boolean success) |
Deprecated.
no replacement
|
Object |
LoaderHandler.getSecurityContext(ClassLoader loader) |
Deprecated.
no replacement
|
static Object |
RMIClassLoader.getSecurityContext(ClassLoader loader) |
Deprecated.
no replacement. As of the Java 2 platform v1.2, RMI no
longer uses this method to obtain a class loader's security context.
|
void |
RemoteRef.invoke(RemoteCall call) |
Deprecated.
1.2 style stubs no longer use this method. Instead of
using a sequence of method calls to the remote reference
(
newCall , invoke , and done ), a
stub uses a single method, invoke(Remote, Method, Object[],
int) , on the remote reference to carry out parameter
marshalling, remote method executing and unmarshalling of the return
value. |
Class<?> |
LoaderHandler.loadClass(String name) |
Deprecated.
no replacement
|
Class<?> |
LoaderHandler.loadClass(URL codebase,
String name) |
Deprecated.
no replacement
|
static Class<?> |
RMIClassLoader.loadClass(String name) |
Deprecated.
replaced by
loadClass(String,String) method |
static LogStream |
LogStream.log(String name) |
Deprecated.
no replacement
|
RemoteCall |
RemoteRef.newCall(RemoteObject obj,
Operation[] op,
int opnum,
long hash) |
Deprecated.
1.2 style stubs no longer use this method. Instead of
using a sequence of method calls on the stub's the remote reference
(
newCall , invoke , and done ), a
stub uses a single method, invoke(Remote, Method, Object[],
int) , on the remote reference to carry out parameter
marshalling, remote method executing and unmarshalling of the return
value. |
static int |
LogStream.parseLevel(String s) |
Deprecated.
no replacement
|
void |
RemoteCall.releaseInputStream() |
Deprecated.
no replacement
|
void |
RemoteCall.releaseOutputStream() |
Deprecated.
no replacement
|
static void |
LogStream.setDefaultStream(PrintStream newDefault) |
Deprecated.
no replacement
|
void |
LogStream.setOutputStream(OutputStream out) |
Deprecated.
no replacement
|
protected static void |
RemoteStub.setRef(RemoteStub stub,
RemoteRef ref) |
Deprecated.
No replacement. The
setRef method
was intended for setting the remote reference of a remote
stub. This is unnecessary, since RemoteStub s can be created
and initialized with a remote reference through use of
the RemoteStub(RemoteRef) constructor. |
String |
LogStream.toString() |
Deprecated.
no replacement
|
String |
Operation.toString() |
Deprecated.
no replacement
|
void |
LogStream.write(byte[] b,
int off,
int len) |
Deprecated.
no replacement
|
void |
LogStream.write(int b) |
Deprecated.
no replacement
|
Constructor | Description |
---|---|
Operation(String op) |
Deprecated.
no replacement
|
SkeletonMismatchException(String s) |
Deprecated.
no replacement
|
Modifier and Type | Interface | Description |
---|---|---|
interface |
Certificate |
Deprecated.
A new certificate handling package is created in the Java platform.
This Certificate interface is entirely deprecated and
is here to allow for a smooth transition to the new
package.
|
class |
Identity |
Deprecated.
This class is no longer used. Its functionality has been
replaced by
java.security.KeyStore , the
java.security.cert package, and
java.security.Principal . |
class |
IdentityScope |
Deprecated.
This class is no longer used. Its functionality has been
replaced by
java.security.KeyStore , the
java.security.cert package, and
java.security.Principal . |
class |
Signer |
Deprecated.
This class is no longer used. Its functionality has been
replaced by
java.security.KeyStore , the
java.security.cert package, and
java.security.Principal . |
Modifier and Type | Method | Description |
---|---|---|
protected abstract Object |
SignatureSpi.engineGetParameter(String param) |
Deprecated.
|
protected abstract void |
SignatureSpi.engineSetParameter(String param,
Object value) |
Deprecated.
Replaced by
engineSetParameter . |
static String |
Security.getAlgorithmProperty(String algName,
String propName) |
Deprecated.
This method used to return the value of a proprietary
property in the master file of the "SUN" Cryptographic Service
Provider in order to determine how to parse algorithm-specific
parameters. Use the new provider-based and algorithm-independent
AlgorithmParameters and KeyFactory engine
classes (introduced in the J2SE version 1.2 platform) instead. |
Object |
Signature.getParameter(String param) |
Deprecated.
|
double |
Provider.getVersion() |
Deprecated.
use
Provider.getVersionStr() instead. |
void |
Signature.setParameter(String param,
Object value) |
Deprecated.
Use
setParameter . |
Constructor | Description |
---|---|
AuthProvider(String name,
double version,
String info) |
Deprecated.
use
AuthProvider(String, String, String) instead. |
Provider(String name,
double version,
String info) |
Deprecated.
use
Provider(String, String, String) instead. |
Modifier and Type | Interface | Description |
---|---|---|
interface |
Acl |
Deprecated.
This package has been replaced by
java.security.Policy
and related classes since 1.2. |
interface |
AclEntry |
Deprecated.
This package has been replaced by
java.security.Policy
and related classes since 1.2. |
class |
AclNotFoundException |
Deprecated.
This package has been replaced by
java.security.Policy
and related classes since 1.2. |
interface |
Group |
Deprecated.
This package has been replaced by
java.security.Policy
and related classes since 1.2. |
class |
LastOwnerException |
Deprecated.
This package has been replaced by
java.security.Policy
and related classes since 1.2. |
class |
NotOwnerException |
Deprecated.
This package has been replaced by
java.security.Policy
and related classes since 1.2. |
interface |
Owner |
Deprecated.
This package has been replaced by
java.security.Policy
and related classes since 1.2. |
interface |
Permission |
Deprecated.
This package has been replaced by
java.security.Policy
and related classes since 1.2. |
Modifier and Type | Method | Description |
---|---|---|
BigDecimal |
CallableStatement.getBigDecimal(int parameterIndex,
int scale) |
Deprecated.
use
getBigDecimal(int parameterIndex)
or getBigDecimal(String parameterName) |
BigDecimal |
ResultSet.getBigDecimal(int columnIndex,
int scale) |
Deprecated.
Use
getBigDecimal(int columnIndex)
or getBigDecimal(String columnLabel) |
BigDecimal |
ResultSet.getBigDecimal(String columnLabel,
int scale) |
Deprecated.
Use
getBigDecimal(int columnIndex)
or getBigDecimal(String columnLabel) |
int |
Time.getDate() |
Deprecated.
|
int |
Time.getDay() |
Deprecated.
|
int |
Date.getHours() |
Deprecated.
|
static PrintStream |
DriverManager.getLogStream() |
Deprecated.
Use
getLogWriter |
int |
Date.getMinutes() |
Deprecated.
|
int |
Time.getMonth() |
Deprecated.
|
int |
Date.getSeconds() |
Deprecated.
|
InputStream |
ResultSet.getUnicodeStream(int columnIndex) |
Deprecated.
use
getCharacterStream in place of
getUnicodeStream |
InputStream |
ResultSet.getUnicodeStream(String columnLabel) |
Deprecated.
use
getCharacterStream instead |
int |
Time.getYear() |
Deprecated.
|
void |
Time.setDate(int i) |
Deprecated.
|
void |
Date.setHours(int i) |
Deprecated.
|
static void |
DriverManager.setLogStream(PrintStream out) |
Deprecated.
Use
setLogWriter |
void |
Date.setMinutes(int i) |
Deprecated.
|
void |
Time.setMonth(int i) |
Deprecated.
|
void |
Date.setSeconds(int i) |
Deprecated.
|
void |
PreparedStatement.setUnicodeStream(int parameterIndex,
InputStream x,
int length) |
Deprecated.
Use
setCharacterStream |
void |
Time.setYear(int i) |
Deprecated.
|
Constructor | Description |
---|---|
Date(int year,
int month,
int day) |
Deprecated.
instead use the constructor
Date(long date) |
Time(int hour,
int minute,
int second) |
Deprecated.
Use the constructor that takes a milliseconds value
in place of this constructor
|
Timestamp(int year,
int month,
int date,
int hour,
int minute,
int second,
int nano) |
Deprecated.
instead use the constructor
Timestamp(long millis) |
Modifier and Type | Class | Description |
---|---|---|
class |
Observable |
Deprecated.
This class and the
Observer interface have been deprecated.
The event model supported by Observer and Observable
is quite limited, the order of notifications delivered by
Observable is unspecified, and state changes are not in
one-for-one correspondence with notifications.
For a richer event model, consider using the
java.beans package. For reliable and ordered
messaging among threads, consider using one of the concurrent data
structures in the java.util.concurrent package. |
interface |
Observer |
Deprecated.
This interface has been deprecated. See the
Observable
class for further information. |
Modifier and Type | Method | Description |
---|---|---|
int |
Date.getDate() |
Deprecated.
As of JDK version 1.1,
replaced by
Calendar.get(Calendar.DAY_OF_MONTH) . |
int |
Date.getDay() |
Deprecated.
As of JDK version 1.1,
replaced by
Calendar.get(Calendar.DAY_OF_WEEK) . |
int |
Date.getHours() |
Deprecated.
As of JDK version 1.1,
replaced by
Calendar.get(Calendar.HOUR_OF_DAY) . |
int |
Date.getMinutes() |
Deprecated.
As of JDK version 1.1,
replaced by
Calendar.get(Calendar.MINUTE) . |
int |
Date.getMonth() |
Deprecated.
As of JDK version 1.1,
replaced by
Calendar.get(Calendar.MONTH) . |
int |
Date.getSeconds() |
Deprecated.
As of JDK version 1.1,
replaced by
Calendar.get(Calendar.SECOND) . |
int |
Date.getTimezoneOffset() |
Deprecated.
As of JDK version 1.1,
replaced by
-(Calendar.get(Calendar.ZONE_OFFSET) +
Calendar.get(Calendar.DST_OFFSET)) / (60 * 1000) . |
int |
Date.getYear() |
Deprecated.
As of JDK version 1.1,
replaced by
Calendar.get(Calendar.YEAR) - 1900 . |
static long |
Date.parse(String s) |
Deprecated.
As of JDK version 1.1,
replaced by
DateFormat.parse(String s) . |
void |
Properties.save(OutputStream out,
String comments) |
Deprecated.
This method does not throw an IOException if an I/O error
occurs while saving the property list. The preferred way to save a
properties list is via the
store(OutputStream out,
String comments) method or the
storeToXML(OutputStream os, String comment) method. |
void |
Date.setDate(int date) |
Deprecated.
As of JDK version 1.1,
replaced by
Calendar.set(Calendar.DAY_OF_MONTH, int date) . |
void |
Date.setHours(int hours) |
Deprecated.
As of JDK version 1.1,
replaced by
Calendar.set(Calendar.HOUR_OF_DAY, int hours) . |
void |
Date.setMinutes(int minutes) |
Deprecated.
As of JDK version 1.1,
replaced by
Calendar.set(Calendar.MINUTE, int minutes) . |
void |
Date.setMonth(int month) |
Deprecated.
As of JDK version 1.1,
replaced by
Calendar.set(Calendar.MONTH, int month) . |
void |
Date.setSeconds(int seconds) |
Deprecated.
As of JDK version 1.1,
replaced by
Calendar.set(Calendar.SECOND, int seconds) . |
void |
Date.setYear(int year) |
Deprecated.
As of JDK version 1.1,
replaced by
Calendar.set(Calendar.YEAR, year + 1900) . |
String |
Date.toGMTString() |
Deprecated.
As of JDK version 1.1,
replaced by
DateFormat.format(Date date) , using a
GMT TimeZone . |
String |
Date.toLocaleString() |
Deprecated.
As of JDK version 1.1,
replaced by
DateFormat.format(Date date) . |
static long |
Date.UTC(int year,
int month,
int date,
int hrs,
int min,
int sec) |
Deprecated.
As of JDK version 1.1,
replaced by
Calendar.set(year + 1900, month, date, hrs, min, sec)
or GregorianCalendar(year + 1900, month, date, hrs, min, sec) , using a UTC
TimeZone , followed by Calendar.getTime().getTime() . |
Constructor | Description |
---|---|
Date(int year,
int month,
int date) |
Deprecated.
As of JDK version 1.1,
replaced by
Calendar.set(year + 1900, month, date)
or GregorianCalendar(year + 1900, month, date) . |
Date(int year,
int month,
int date,
int hrs,
int min) |
Deprecated.
As of JDK version 1.1,
replaced by
Calendar.set(year + 1900, month, date, hrs, min)
or GregorianCalendar(year + 1900, month, date, hrs, min) . |
Date(int year,
int month,
int date,
int hrs,
int min,
int sec) |
Deprecated.
As of JDK version 1.1,
replaced by
Calendar.set(year + 1900, month, date, hrs, min, sec)
or GregorianCalendar(year + 1900, month, date, hrs, min, sec) . |
Date(String s) |
Deprecated.
As of JDK version 1.1,
replaced by
DateFormat.parse(String s) . |
Modifier and Type | Method | Description |
---|---|---|
boolean |
AtomicBoolean.weakCompareAndSet(boolean expectedValue,
boolean newValue) |
Deprecated.
This method has plain memory effects but the method
name implies volatile memory effects (see methods such as
AtomicBoolean.compareAndExchange(boolean, boolean) and AtomicBoolean.compareAndSet(boolean, boolean) ). To avoid
confusion over plain or volatile memory effects it is recommended that
the method AtomicBoolean.weakCompareAndSetPlain(boolean, boolean) be used instead. |
boolean |
AtomicInteger.weakCompareAndSet(int expectedValue,
int newValue) |
Deprecated.
This method has plain memory effects but the method
name implies volatile memory effects (see methods such as
AtomicInteger.compareAndExchange(int, int) and AtomicInteger.compareAndSet(int, int) ). To avoid
confusion over plain or volatile memory effects it is recommended that
the method AtomicInteger.weakCompareAndSetPlain(int, int) be used instead. |
boolean |
AtomicIntegerArray.weakCompareAndSet(int i,
int expectedValue,
int newValue) |
Deprecated.
This method has plain memory effects but the method
name implies volatile memory effects (see methods such as
AtomicIntegerArray.compareAndExchange(int, int, int) and AtomicIntegerArray.compareAndSet(int, int, int) ). To avoid
confusion over plain or volatile memory effects it is recommended that
the method AtomicIntegerArray.weakCompareAndSetPlain(int, int, int) be used instead. |
boolean |
AtomicLong.weakCompareAndSet(long expectedValue,
long newValue) |
Deprecated.
This method has plain memory effects but the method
name implies volatile memory effects (see methods such as
AtomicLong.compareAndExchange(long, long) and AtomicLong.compareAndSet(long, long) ). To avoid
confusion over plain or volatile memory effects it is recommended that
the method AtomicLong.weakCompareAndSetPlain(long, long) be used instead. |
boolean |
AtomicLongArray.weakCompareAndSet(int i,
long expectedValue,
long newValue) |
Deprecated.
This method has plain memory effects but the method
name implies volatile memory effects (see methods such as
AtomicLongArray.compareAndExchange(int, long, long) and AtomicLongArray.compareAndSet(int, long, long) ). To avoid
confusion over plain or volatile memory effects it is recommended that
the method AtomicLongArray.weakCompareAndSetPlain(int, long, long) be used instead. |
boolean |
AtomicReference.weakCompareAndSet(V expectedValue,
V newValue) |
Deprecated.
This method has plain memory effects but the method
name implies volatile memory effects (see methods such as
AtomicReference.compareAndExchange(V, V) and AtomicReference.compareAndSet(V, V) ). To avoid
confusion over plain or volatile memory effects it is recommended that
the method AtomicReference.weakCompareAndSetPlain(V, V) be used instead. |
boolean |
AtomicReferenceArray.weakCompareAndSet(int i,
E expectedValue,
E newValue) |
Deprecated.
This method has plain memory effects but the method
name implies volatile memory effects (see methods such as
AtomicReferenceArray.compareAndExchange(int, E, E) and AtomicReferenceArray.compareAndSet(int, E, E) ). To avoid
confusion over plain or volatile memory effects it is recommended that
the method AtomicReferenceArray.weakCompareAndSetPlain(int, E, E) be used instead. |
Modifier and Type | Field | Description |
---|---|---|
static Attributes.Name |
Attributes.Name.EXTENSION_INSTALLATION |
Deprecated.
Extension mechanism is no longer supported.
|
static Attributes.Name |
Attributes.Name.IMPLEMENTATION_URL |
Deprecated.
Extension mechanism is no longer supported.
|
static Attributes.Name |
Attributes.Name.IMPLEMENTATION_VENDOR_ID |
Deprecated.
Extension mechanism is no longer supported.
|
Modifier and Type | Interface | Description |
---|---|---|
interface |
LoggingMXBean |
Deprecated.
LoggingMXBean is no longer a platform MXBean and is replaced
with PlatformLoggingMXBean .
It will not register in the platform MBeanServer .
Use ManagementFactory.getPlatformMXBean(PlatformLoggingMXBean.class)
instead. |
Modifier and Type | Field | Description |
---|---|---|
static Logger |
Logger.global |
Deprecated.
Initialization of this field is prone to deadlocks.
The field must be initialized by the Logger class initialization
which may cause deadlocks with the LogManager class initialization.
In such cases two class initialization wait for each other to complete.
The preferred way to get the global logger object is via the call
Logger.getGlobal() .
For compatibility with old JDK versions where the
Logger.getGlobal() is not available use the call
Logger.getLogger(Logger.GLOBAL_LOGGER_NAME)
or Logger.getLogger("global") . |
Modifier and Type | Method | Description |
---|---|---|
static LoggingMXBean |
LogManager.getLoggingMXBean() |
Deprecated.
java.util.logging.LoggingMXBean is deprecated and
replaced with java.lang.management.PlatformLoggingMXBean . Use
ManagementFactory.getPlatformMXBean (PlatformLoggingMXBean.class)
instead. |
void |
Logger.logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg) |
|
void |
Logger.logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg,
Object param1) |
|
void |
Logger.logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg,
Object[] params) |
|
void |
Logger.logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg,
Throwable thrown) |
|
void |
LogRecord.setMillis(long millis) |
Deprecated.
LogRecord maintains timestamps with nanosecond resolution,
using
Instant values. For this reason,
setInstant()
should be used in preference to setMillis() . |
Modifier and Type | Class | Description |
---|---|---|
class |
AccessibleResourceBundle |
Deprecated.
This class is deprecated as of version 1.3 of the
Java Platform.
|
Modifier and Type | Field | Description |
---|---|---|
static Class<?>[] |
ImageReaderSpi.STANDARD_INPUT_TYPE |
Deprecated.
Instead of using this field, directly create
the equivalent array
{ ImageInputStream.class } . |
static Class<?>[] |
ImageWriterSpi.STANDARD_OUTPUT_TYPE |
Deprecated.
Instead of using this field, directly create
the equivalent array
{ ImageOutputStream.class } . |
Modifier and Type | Class | Description |
---|---|---|
interface |
InitParam |
Deprecated.
|
interface |
SOAPMessageHandler |
Deprecated.
|
interface |
SOAPMessageHandlers |
Deprecated.
|
Constructor | Description |
---|---|
AbstractAnnotationValueVisitor6() |
Deprecated.
Release 6 is obsolete; update to a visitor for a newer
release level.
|
AbstractElementVisitor6() |
Deprecated.
Release 6 is obsolete; update to a visitor for a newer
release level.
|
AbstractTypeVisitor6() |
Deprecated.
Release 6 is obsolete; update to a visitor for a newer
release level.
|
ElementKindVisitor6() |
Deprecated.
Release 6 is obsolete; update to a visitor for a newer
release level.
|
ElementKindVisitor6(R defaultValue) |
Deprecated.
Release 6 is obsolete; update to a visitor for a newer
release level.
|
ElementScanner6() |
Deprecated.
Release 6 is obsolete; update to a visitor for a newer
release level.
|
ElementScanner6(R defaultValue) |
Deprecated.
Release 6 is obsolete; update to a visitor for a newer
release level.
|
SimpleAnnotationValueVisitor6() |
Deprecated.
Release 6 is obsolete; update to a visitor for a newer
release level.
|
SimpleAnnotationValueVisitor6(R defaultValue) |
Deprecated.
Release 6 is obsolete; update to a visitor for a newer
release level.
|
SimpleElementVisitor6() |
Deprecated.
Release 6 is obsolete; update to a visitor for a newer
release level.
|
SimpleElementVisitor6(R defaultValue) |
Deprecated.
Release 6 is obsolete; update to a visitor for a newer
release level.
|
SimpleTypeVisitor6() |
Deprecated.
Release 6 is obsolete; update to a visitor for a newer
release level.
|
SimpleTypeVisitor6(R defaultValue) |
Deprecated.
Release 6 is obsolete; update to a visitor for a newer
release level.
|
TypeKindVisitor6() |
Deprecated.
Release 6 is obsolete; update to a visitor for a newer
release level.
|
TypeKindVisitor6(R defaultValue) |
Deprecated.
Release 6 is obsolete; update to a visitor for a newer
release level.
|
Modifier and Type | Class | Description |
---|---|---|
class |
DefaultLoaderRepository |
Deprecated.
Use
MBeanServer.getClassLoaderRepository()
instead. |
Modifier and Type | Method | Description |
---|---|---|
default ObjectInputStream |
MBeanServer.deserialize(String className,
byte[] data) |
Deprecated.
Use
MBeanServer.getClassLoaderRepository() to obtain the
class loader repository and use it to deserialize. |
default ObjectInputStream |
MBeanServer.deserialize(String className,
ObjectName loaderName,
byte[] data) |
Deprecated.
Use
getClassLoader to obtain
the class loader for deserialization. |
default ObjectInputStream |
MBeanServer.deserialize(ObjectName name,
byte[] data) |
Deprecated.
Use
getClassLoaderFor to
obtain the appropriate class loader for deserialization. |
void |
AttributeValueExp.setMBeanServer(MBeanServer s) |
Deprecated.
This method has no effect. The MBean Server used to
obtain an attribute value is
QueryEval.getMBeanServer() . |
void |
StringValueExp.setMBeanServer(MBeanServer s) |
Deprecated.
|
void |
ValueExp.setMBeanServer(MBeanServer s) |
Deprecated.
This method is not needed because a
ValueExp can access the MBean server in which it
is being evaluated by using QueryEval.getMBeanServer() . |
Constructor | Description |
---|---|
AttributeValueExp() |
Deprecated.
An instance created with this constructor cannot be
used in a query.
|
Modifier and Type | Class | Description |
---|---|---|
class |
DefaultLoaderRepository |
Deprecated.
Use
MBeanServer.getClassLoaderRepository()
instead. |
Modifier and Type | Field | Description |
---|---|---|
protected int |
Monitor.alreadyNotified |
Deprecated.
equivalent to
Monitor.alreadyNotifieds [0]. |
protected String |
Monitor.dbgTag |
Deprecated.
No replacement.
|
Modifier and Type | Field | Description |
---|---|---|
static String[] |
OpenType.ALLOWED_CLASSNAMES |
Deprecated.
Use
ALLOWED_CLASSNAMES_LIST instead. |
Modifier and Type | Class | Description |
---|---|---|
class |
RMIIIOPServerImpl |
Deprecated.
This transport is no longer supported.
|
Modifier and Type | Field | Description |
---|---|---|
static String |
Context.APPLET |
Deprecated.
An environment property with this name is ignored
while constructing an initial context.
This constant was originally used as a property name to specify an
Applet to retrieve parameters from, when creating an initial
context. Currently any applet properties that need to be passed to an
initial context should be copied into the environment hashtable:
|
Modifier and Type | Method | Description |
---|---|---|
X509Certificate[] |
HandshakeCompletedEvent.getPeerCertificateChain() |
Deprecated.
The
HandshakeCompletedEvent.getPeerCertificates() method that returns an
array of java.security.cert.Certificate should
be used instead. |
X509Certificate[] |
SSLSession.getPeerCertificateChain() |
Deprecated.
The
SSLSession.getPeerCertificates() method that returns an
array of java.security.cert.Certificate should
be used instead. |
Modifier and Type | Class | Description |
---|---|---|
class |
Policy |
Deprecated.
as of JDK version 1.4 -- Replaced by java.security.Policy.
java.security.Policy has a method:
public PermissionCollection getPermissions (java.security.ProtectionDomain pd)and ProtectionDomain has a constructor: public ProtectionDomain (CodeSource cs, PermissionCollection permissions, ClassLoader loader, Principal[] principals)These two APIs provide callers the means to query the Policy for Principal-based Permission entries. |
Modifier and Type | Class | Description |
---|---|---|
class |
Certificate |
Deprecated.
Use the classes in
java.security.cert instead. |
class |
CertificateEncodingException |
Deprecated.
Use the classes in
java.security.cert instead. |
class |
CertificateException |
Deprecated.
Use the classes in
java.security.cert instead. |
class |
CertificateExpiredException |
Deprecated.
Use the classes in
java.security.cert instead. |
class |
CertificateNotYetValidException |
Deprecated.
Use the classes in
java.security.cert instead. |
class |
CertificateParsingException |
Deprecated.
Use the classes in
java.security.cert instead. |
class |
X509Certificate |
Deprecated.
Use the classes in
java.security.cert instead. |
Modifier and Type | Field | Description |
---|---|---|
static boolean |
CachedRowSet.COMMIT_ON_ACCEPT_CHANGES |
Deprecated.
Because this field is final (it is part of an interface),
its value cannot be changed.
|
Modifier and Type | Method | Description |
---|---|---|
void |
BaseRowSet.setUnicodeStream(int parameterIndex,
InputStream x,
int length) |
Deprecated.
getCharacterStream should be used in its place
|
Modifier and Type | Class | Description |
---|---|---|
class |
JApplet |
Deprecated.
The Applet API is deprecated. See the
java.applet package documentation
for further information.
|
Modifier and Type | Field | Description |
---|---|---|
protected FocusListener |
JComponent.AccessibleJComponent.accessibleFocusHandler |
Deprecated.
|
protected boolean |
JViewport.backingStore |
Deprecated.
As of Java 2 platform v1.3
|
protected static Component |
ImageIcon.component |
Deprecated.
since 1.8
|
protected static MediaTracker |
ImageIcon.tracker |
Deprecated.
since 1.8
|
Modifier and Type | Method | Description |
---|---|---|
void |
RepaintManager.addDirtyRegion(Applet applet,
int x,
int y,
int w,
int h) |
Deprecated.
The Applet API is deprecated. See the
java.applet package
documentation for further information.
|
static JScrollPane |
JTable.createScrollPaneForTable(JTable aTable) |
Deprecated.
As of Swing version 1.0.2,
replaced by
new JScrollPane(aTable) . |
void |
JComponent.disable() |
Deprecated.
As of JDK version 1.1,
replaced by
java.awt.Component.setEnabled(boolean) . |
static void |
FocusManager.disableSwingFocusManager() |
Deprecated.
as of 1.4, replaced by
KeyboardFocusManager.setDefaultFocusTraversalPolicy(FocusTraversalPolicy) |
void |
JComponent.enable() |
Deprecated.
As of JDK version 1.1,
replaced by
java.awt.Component.setEnabled(boolean) . |
static Component |
SwingUtilities.findFocusOwner(Component c) |
Deprecated.
As of 1.4, replaced by
KeyboardFocusManager.getFocusOwner() . |
Component |
JMenuBar.getComponentAtIndex(int i) |
Deprecated.
replaced by
getComponent(int i) |
Component |
JPopupMenu.getComponentAtIndex(int i) |
Deprecated.
replaced by
Container.getComponent(int) |
static KeyStroke |
KeyStroke.getKeyStroke(char keyChar,
boolean onKeyRelease) |
Deprecated.
use getKeyStroke(char)
|
String |
AbstractButton.getLabel() |
Deprecated.
- Replaced by
getText |
JMenuBar |
JInternalFrame.getMenuBar() |
Deprecated.
As of Swing version 1.0.3,
replaced by
getJMenuBar() . |
JMenuBar |
JRootPane.getMenuBar() |
Deprecated.
As of Swing version 1.0.3
replaced by
getJMenuBar() . |
Component |
JComponent.getNextFocusableComponent() |
Deprecated.
As of 1.4, replaced by
FocusTraversalPolicy . |
Object[] |
JList.getSelectedValues() |
Deprecated.
As of JDK 1.7, replaced by
JList.getSelectedValuesList() |
String |
JPasswordField.getText() |
Deprecated.
As of Java 2 platform v1.2,
replaced by
getPassword . |
String |
JPasswordField.getText(int offs,
int len) |
Deprecated.
As of Java 2 platform v1.2,
replaced by
getPassword . |
Rectangle |
ScrollPaneLayout.getViewportBorderBounds(JScrollPane scrollpane) |
Deprecated.
As of JDK version Swing1.1
replaced by
JScrollPane.getViewportBorderBounds() . |
void |
JComponent.hide() |
Deprecated.
|
boolean |
JViewport.isBackingStoreEnabled() |
Deprecated.
As of Java 2 platform v1.3, replaced by
getScrollMode() . |
static boolean |
FocusManager.isFocusManagerEnabled() |
Deprecated.
As of 1.4, replaced by
KeyboardFocusManager.getDefaultFocusTraversalPolicy() |
boolean |
JComponent.isManagingFocus() |
Deprecated.
As of 1.4, replaced by
Component.setFocusTraversalKeys(int, Set) and
Container.setFocusCycleRoot(boolean) . |
boolean |
JComponent.requestDefaultFocus() |
Deprecated.
As of 1.4, replaced by
FocusTraversalPolicy.getDefaultComponent(Container).requestFocus() |
void |
JComponent.reshape(int x,
int y,
int w,
int h) |
Deprecated.
As of JDK 5,
replaced by
Component.setBounds(int, int, int, int) .
Moves and resizes this component. |
void |
JViewport.setBackingStoreEnabled(boolean enabled) |
Deprecated.
As of Java 2 platform v1.3, replaced by
setScrollMode() . |
void |
AbstractButton.setLabel(String label) |
Deprecated.
- Replaced by
setText(text) |
void |
JInternalFrame.setMenuBar(JMenuBar m) |
Deprecated.
As of Swing version 1.0.3
replaced by
setJMenuBar(JMenuBar m) . |
void |
JRootPane.setMenuBar(JMenuBar menu) |
Deprecated.
As of Swing version 1.0.3
replaced by
setJMenuBar(JMenuBar menu) . |
void |
JComponent.setNextFocusableComponent(Component aComponent) |
Deprecated.
As of 1.4, replaced by
FocusTraversalPolicy |
boolean |
InputVerifier.shouldYieldFocus(JComponent input) |
Deprecated.
|
void |
JTable.sizeColumnsToFit(boolean lastColumnOnly) |
Deprecated.
As of Swing version 1.0.3,
replaced by
doLayout() . |
Modifier and Type | Method | Description |
---|---|---|
String |
TextUI.getToolTipText(JTextComponent t,
Point pt) |
Deprecated.
replaced by
TextUI.getToolTipText2D(JTextComponent, Point2D) |
abstract Rectangle |
TextUI.modelToView(JTextComponent t,
int pos) |
Deprecated.
|
abstract Rectangle |
TextUI.modelToView(JTextComponent t,
int pos,
Position.Bias bias) |
Deprecated.
|
abstract int |
TextUI.viewToModel(JTextComponent t,
Point pt) |
Deprecated.
|
abstract int |
TextUI.viewToModel(JTextComponent t,
Point pt,
Position.Bias[] biasReturn) |
Deprecated.
|
Modifier and Type | Field | Description |
---|---|---|
protected KeyStroke |
BasicDesktopPaneUI.closeKey |
Deprecated.
As of 1.3.
|
protected KeyStroke |
BasicSplitPaneUI.dividerResizeToggleKey |
Deprecated.
As of Java 2 platform v1.3.
|
protected KeyStroke |
BasicSplitPaneUI.downKey |
Deprecated.
As of Java 2 platform v1.3.
|
protected KeyStroke |
BasicTabbedPaneUI.downKey |
Deprecated.
As of Java 2 platform v1.3.
|
protected KeyStroke |
BasicToolBarUI.downKey |
Deprecated.
As of Java 2 platform v1.3.
|
protected KeyStroke |
BasicSplitPaneUI.endKey |
Deprecated.
As of Java 2 platform v1.3.
|
protected KeyStroke |
BasicSplitPaneUI.homeKey |
Deprecated.
As of Java 2 platform v1.3.
|
protected ActionListener |
BasicSplitPaneUI.keyboardDownRightListener |
Deprecated.
As of Java 2 platform v1.3.
|
protected ActionListener |
BasicSplitPaneUI.keyboardEndListener |
Deprecated.
As of Java 2 platform v1.3.
|
protected ActionListener |
BasicSplitPaneUI.keyboardHomeListener |
Deprecated.
As of Java 2 platform v1.3.
|
protected ActionListener |
BasicSplitPaneUI.keyboardResizeToggleListener |
Deprecated.
As of Java 2 platform v1.3.
|
protected ActionListener |
BasicSplitPaneUI.keyboardUpLeftListener |
Deprecated.
As of Java 2 platform v1.3.
|
protected KeyStroke |
BasicSplitPaneUI.leftKey |
Deprecated.
As of Java 2 platform v1.3.
|
protected KeyStroke |
BasicTabbedPaneUI.leftKey |
Deprecated.
As of Java 2 platform v1.3.
|
protected KeyStroke |
BasicToolBarUI.leftKey |
Deprecated.
As of Java 2 platform v1.3.
|
protected KeyStroke |
BasicDesktopPaneUI.maximizeKey |
Deprecated.
As of 1.3.
|
protected KeyStroke |
BasicDesktopPaneUI.minimizeKey |
Deprecated.
As of 1.3.
|
protected KeyStroke |
BasicDesktopPaneUI.navigateKey |
Deprecated.
As of 1.3.
|
protected KeyStroke |
BasicDesktopPaneUI.navigateKey2 |
Deprecated.
As of 1.3.
|
protected KeyStroke |
BasicInternalFrameUI.openMenuKey |
Deprecated.
As of Java 2 platform v1.3.
|
protected KeyStroke |
BasicSplitPaneUI.rightKey |
Deprecated.
As of Java 2 platform v1.3.
|
protected KeyStroke |
BasicTabbedPaneUI.rightKey |
Deprecated.
As of Java 2 platform v1.3.
|
protected KeyStroke |
BasicToolBarUI.rightKey |
Deprecated.
As of Java 2 platform v1.3.
|
protected KeyStroke |
BasicSplitPaneUI.upKey |
Deprecated.
As of Java 2 platform v1.3.
|
protected KeyStroke |
BasicTabbedPaneUI.upKey |
Deprecated.
As of Java 2 platform v1.3.
|
protected KeyStroke |
BasicToolBarUI.upKey |
Deprecated.
As of Java 2 platform v1.3.
|
Modifier and Type | Method | Description |
---|---|---|
protected ActionListener |
BasicSplitPaneUI.createKeyboardDownRightListener() |
Deprecated.
As of Java 2 platform v1.3.
|
protected ActionListener |
BasicSplitPaneUI.createKeyboardEndListener() |
Deprecated.
As of Java 2 platform v1.3.
|
protected ActionListener |
BasicSplitPaneUI.createKeyboardHomeListener() |
Deprecated.
As of Java 2 platform v1.3.
|
protected ActionListener |
BasicSplitPaneUI.createKeyboardResizeToggleListener() |
Deprecated.
As of Java 2 platform v1.3.
|
protected ActionListener |
BasicSplitPaneUI.createKeyboardUpLeftListener() |
Deprecated.
As of Java 2 platform v1.3.
|
protected int |
BasicSplitPaneUI.getDividerBorderSize() |
Deprecated.
As of Java 2 platform v1.3, instead set the border on the
divider.
|
Rectangle |
BasicTextUI.modelToView(JTextComponent tc,
int pos) |
Deprecated.
|
Rectangle |
BasicTextUI.modelToView(JTextComponent tc,
int pos,
Position.Bias bias) |
Deprecated.
|
int |
BasicTextUI.viewToModel(JTextComponent tc,
Point pt) |
Deprecated.
|
int |
BasicTextUI.viewToModel(JTextComponent tc,
Point pt,
Position.Bias[] biasReturn) |
Deprecated.
|
Modifier and Type | Class | Description |
---|---|---|
class |
MetalComboBoxUI.MetalComboPopup |
Deprecated.
As of Java 2 platform v1.4.
|
protected class |
MetalFileChooserUI.FileRenderer |
Deprecated.
As of JDK version 9. Obsolete class.
|
protected class |
MetalFileChooserUI.SingleClickListener |
Deprecated.
As of JDK version 9. Obsolete class.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
MetalComboBoxUI.editablePropertyChanged(PropertyChangeEvent e) |
Deprecated.
As of Java 2 platform v1.4.
|
protected void |
MetalComboBoxUI.removeListeners() |
Deprecated.
As of Java 2 platform v1.4.
|
void |
MetalScrollPaneUI.uninstallListeners(JScrollPane scrollPane) |
Deprecated.
- Replaced by
MetalScrollPaneUI.uninstallListeners(JComponent) |
Modifier and Type | Method | Description |
---|---|---|
Rectangle |
MultiTextUI.modelToView(JTextComponent a,
int b) |
Deprecated.
|
Rectangle |
MultiTextUI.modelToView(JTextComponent a,
int b,
Position.Bias c) |
Deprecated.
|
int |
MultiTextUI.viewToModel(JTextComponent a,
Point b) |
Deprecated.
|
int |
MultiTextUI.viewToModel(JTextComponent a,
Point b,
Position.Bias[] c) |
Deprecated.
|
Modifier and Type | Field | Description |
---|---|---|
protected int |
TableColumn.resizedPostingDisableCount |
Deprecated.
as of Java 2 platform v1.3
|
Modifier and Type | Method | Description |
---|---|---|
void |
TableColumn.disableResizedPosting() |
Deprecated.
as of Java 2 platform v1.3
|
void |
TableColumn.enableResizedPosting() |
Deprecated.
as of Java 2 platform v1.3
|
Modifier and Type | Class | Description |
---|---|---|
class |
DefaultTextUI |
Deprecated.
|
class |
TableView.TableCell |
Deprecated.
A table cell can now be any View implementation.
|
Modifier and Type | Method | Description |
---|---|---|
protected TableView.TableCell |
TableView.createTableCell(Element elem) |
Deprecated.
Table cells can now be any arbitrary
View implementation and should be produced by the
ViewFactory rather than the table.
|
protected int |
PasswordView.drawEchoCharacter(Graphics g,
int x,
int y,
char c) |
Deprecated.
|
protected void |
PlainView.drawLine(int lineIndex,
Graphics g,
int x,
int y) |
Deprecated.
|
protected void |
WrappedPlainView.drawLine(int p0,
int p1,
Graphics g,
int x,
int y) |
Deprecated.
|
protected int |
PasswordView.drawSelectedText(Graphics g,
int x,
int y,
int p0,
int p1) |
Deprecated.
|
protected int |
PlainView.drawSelectedText(Graphics g,
int x,
int y,
int p0,
int p1) |
Deprecated.
|
protected int |
WrappedPlainView.drawSelectedText(Graphics g,
int x,
int y,
int p0,
int p1) |
Deprecated.
|
static int |
Utilities.drawTabbedText(Segment s,
int x,
int y,
Graphics g,
TabExpander e,
int startOffset) |
Deprecated.
|
protected int |
PasswordView.drawUnselectedText(Graphics g,
int x,
int y,
int p0,
int p1) |
Deprecated.
|
protected int |
PlainView.drawUnselectedText(Graphics g,
int x,
int y,
int p0,
int p1) |
Deprecated.
|
protected int |
WrappedPlainView.drawUnselectedText(Graphics g,
int x,
int y,
int p0,
int p1) |
Deprecated.
|
static int |
Utilities.getBreakLocation(Segment s,
FontMetrics metrics,
int x0,
int x,
TabExpander e,
int startOffset) |
Deprecated.
|
protected FontMetrics |
LabelView.getFontMetrics() |
Deprecated.
FontMetrics are not used for glyph rendering
when running in the JDK.
|
static int |
Utilities.getPositionAbove(JTextComponent c,
int offs,
int x) |
Deprecated.
|
static int |
Utilities.getPositionBelow(JTextComponent c,
int offs,
int x) |
Deprecated.
|
static int |
Utilities.getTabbedTextOffset(Segment s,
FontMetrics metrics,
int x0,
int x,
TabExpander e,
int startOffset) |
Deprecated.
|
static int |
Utilities.getTabbedTextOffset(Segment s,
FontMetrics metrics,
int x0,
int x,
TabExpander e,
int startOffset,
boolean round) |
Deprecated.
|
static int |
Utilities.getTabbedTextWidth(Segment s,
FontMetrics metrics,
int x,
TabExpander e,
int startOffset) |
Deprecated.
|
Rectangle |
JTextComponent.modelToView(int pos) |
Deprecated.
replaced by
JTextComponent.modelToView2D(int) |
Shape |
View.modelToView(int pos,
Shape a) |
Deprecated.
|
int |
JTextComponent.viewToModel(Point pt) |
Deprecated.
replaced by
JTextComponent.viewToModel2D(Point2D) |
int |
View.viewToModel(float x,
float y,
Shape a) |
Deprecated.
|
Modifier and Type | Field | Description |
---|---|---|
static String |
FormView.RESET |
Deprecated.
As of 1.3, value comes from UIManager UIManager property
FormView.resetButtonText
|
static String |
FormView.SUBMIT |
Deprecated.
As of 1.3, value now comes from UIManager property
FormView.submitButtonText
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
HTMLEditorKit.InsertHTMLTextAction.insertAtBoundry(JEditorPane editor,
HTMLDocument doc,
int offset,
Element insertElement,
String html,
HTML.Tag parentTag,
HTML.Tag addTag) |
Deprecated.
As of Java 2 platform v1.3, use insertAtBoundary
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
DefaultTreeSelectionModel.notifyPathChange(Vector<?> changedPaths,
TreePath oldLeadSelection) |
Deprecated.
As of JDK version 1.7
|
Modifier and Type | Method | Description |
---|---|---|
static ClassLoader |
ToolProvider.getSystemToolClassLoader() |
Deprecated.
This method is subject to removal in a future version of
Java SE.
Use the
system tool provider or
service loader mechanisms to
locate system tools as well as user-installed tools. |
Modifier and Type | Method | Description |
---|---|---|
static XMLInputFactory |
XMLInputFactory.newFactory() |
Deprecated.
|
static XMLEventFactory |
XMLEventFactory.newInstance(String factoryId,
ClassLoader classLoader) |
Deprecated.
This method has been deprecated to maintain API consistency.
All newInstance methods have been replaced with corresponding
newFactory methods. The replacement
XMLEventFactory.newFactory(java.lang.String, java.lang.ClassLoader)
method defines no changes in behavior. |
static XMLInputFactory |
XMLInputFactory.newInstance(String factoryId,
ClassLoader classLoader) |
Deprecated.
This method has been deprecated to maintain API consistency.
All newInstance methods have been replaced with corresponding
newFactory methods. The replacement
XMLInputFactory.newFactory(java.lang.String, java.lang.ClassLoader) method
defines no changes in behavior. |
static XMLInputFactory |
XMLOutputFactory.newInstance(String factoryId,
ClassLoader classLoader) |
Deprecated.
This method has been deprecated because it returns an
instance of XMLInputFactory, which is of the wrong class.
Use the new method
XMLOutputFactory.newFactory(java.lang.String,
java.lang.ClassLoader) instead. |
Modifier and Type | Class | Description |
---|---|---|
class |
DynamicImplementation |
Deprecated.
org.omg.CORBA.DynamicImplementation
|
interface |
DynAny |
Deprecated.
Use the new DynAny instead
|
interface |
DynArray |
Deprecated.
Use the new DynArray instead
|
interface |
DynEnum |
Deprecated.
Use the new DynEnum instead
|
interface |
DynFixed |
Deprecated.
Use the new DynFixed instead
|
interface |
DynSequence |
Deprecated.
Use the new DynSequence instead
|
interface |
DynStruct |
Deprecated.
Use the new DynStruct instead
|
interface |
DynUnion |
Deprecated.
Use the new DynUnion instead
|
interface |
DynValue |
Deprecated.
Use the new DynValue instead
|
class |
Principal |
Deprecated.
Deprecated by CORBA 2.2.
|
class |
PrincipalHolder |
Deprecated.
Deprecated by CORBA 2.2.
|
Modifier and Type | Method | Description |
---|---|---|
DynAny |
ORB.create_basic_dyn_any(TypeCode type) |
Deprecated.
Use the new DynAnyFactory API instead
|
DynAny |
ORB.create_dyn_any(Any value) |
Deprecated.
Use the new DynAnyFactory API instead
|
DynArray |
ORB.create_dyn_array(TypeCode type) |
Deprecated.
Use the new DynAnyFactory API instead
|
DynEnum |
ORB.create_dyn_enum(TypeCode type) |
Deprecated.
Use the new DynAnyFactory API instead
|
DynSequence |
ORB.create_dyn_sequence(TypeCode type) |
Deprecated.
Use the new DynAnyFactory API instead
|
DynStruct |
ORB.create_dyn_struct(TypeCode type) |
Deprecated.
Use the new DynAnyFactory API instead
|
DynUnion |
ORB.create_dyn_union(TypeCode type) |
Deprecated.
Use the new DynAnyFactory API instead
|
abstract TypeCode |
ORB.create_recursive_sequence_tc(int bound,
int offset) |
Deprecated.
Use a combination of create_recursive_tc and create_sequence_tc instead
|
void |
ServerRequest.except(Any any) |
Deprecated.
use set_exception()
|
Principal |
Any.extract_Principal() |
Deprecated.
Deprecated by CORBA 2.2.
|
Current |
ORB.get_current() |
Deprecated.
use
resolve_initial_references . |
void |
Any.insert_Principal(Principal p) |
Deprecated.
Deprecated by CORBA 2.2.
|
void |
DynamicImplementation.invoke(ServerRequest request) |
Deprecated.
Deprecated by Portable Object Adapter
|
byte[] |
Principal.name() |
Deprecated.
Deprecated by CORBA 2.2.
|
void |
Principal.name(byte[] value) |
Deprecated.
Deprecated by CORBA 2.2.
|
String |
ServerRequest.op_name() |
Deprecated.
use operation()
|
void |
ServerRequest.params(NVList params) |
Deprecated.
use the method
arguments |
void |
ServerRequest.result(Any any) |
Deprecated.
use the method
set_result |
Constructor | Description |
---|---|
TCKind(int _value) |
Deprecated.
Do not use this constructor as this method should be private
according to the OMG specification. Use
TCKind.from_int(int) instead. |
Modifier and Type | Method | Description |
---|---|---|
Principal |
InputStream.read_Principal() |
Deprecated.
Deprecated by CORBA 2.2.
|
void |
OutputStream.write_Principal(Principal value) |
Deprecated.
Deprecated by CORBA 2.2.
|
Modifier and Type | Interface | Description |
---|---|---|
interface |
AttributeList |
Deprecated.
This interface has been replaced by the SAX2
Attributes
interface, which includes Namespace support. |
interface |
DocumentHandler |
Deprecated.
This interface has been replaced by the SAX2
ContentHandler
interface, which includes Namespace support. |
interface |
Parser |
Deprecated.
This interface has been replaced by the SAX2
XMLReader
interface, which includes Namespace support. |
Modifier and Type | Class | Description |
---|---|---|
class |
ParserFactory |
Deprecated.
This class works with the deprecated
Parser
interface. |
class |
XMLReaderFactory |
Deprecated.
It is recommended to use
SAXParserFactory
instead. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps