软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
java.awt.datatransfer |
提供用于在应用程序中的数据之间传输数据的接口和类。
|
java.awt.event |
用于处理不同类型的事件由AWT组件提供的接口和类发射。
|
java.awt.image.renderable |
提供用于生成渲染独立图像的类和接口。
|
java.io |
通过数据流、序列化和文件系统提供系统的输入和输出。
|
java.lang |
提供对java编程语言的设计基础课。
|
java.net |
为实现网络应用程序提供类。
|
java.rmi |
提供RMI包。
|
java.rmi.dgc |
提供类和RMI的分布式垃圾收集接口(DGC)。
|
java.rmi.registry |
提供了一种用于RMI注册类和接口。
|
java.rmi.server |
支持RMI服务器端提供的类和接口。
|
java.security |
为安全框架提供类和接口。
|
java.sql |
提供的API来访问和处理的数据存储在数据源(通常是一个关系数据库)使用java
TM编程语言。
|
java.util |
包含集合框架、遗留的集合类、事件模型、日期和时间的设施、国际化和各种实用工具类(一个字符串标记,一个随机数发生器,和一位阵列)。
|
java.util.jar |
阅读和写作的罐提供的类(java文件)文件格式,它是基于标准的ZIP文件格式可选清单文件。
|
java.util.logging |
提供类和2的java
TM平台核心测井设备接口。
|
javax.accessibility |
定义用户界面组件和提供对这些组件的访问的辅助技术之间的一个合同。
|
javax.imageio.spi |
一包I/O API包含读者、作家的插件接口,代码转换器,和溪流的java图像,和一个运行时注册表。
|
javax.jws.soap | |
javax.management |
在java管理扩展提供了核心课程。
|
javax.management.loading |
提供实现高级动态加载的类。
|
javax.management.monitor |
提供监视器类的定义。
|
javax.management.openmbean |
提供开放的数据类型和开放MBean描述符类。
|
javax.security.auth |
本软件包提供了一个用于身份验证和授权的框架。
|
javax.sql.rowset |
JDBC
RowSet 实现标准接口和基类。
|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.plaf.basic |
根据基本的外观和感觉提供内置的用户界面对象。
|
javax.swing.plaf.metal |
提供用户界面对象建立根据java的外观和感觉(一次代号为金属),它是默认的外观和感觉。
|
javax.swing.table |
处理
javax.swing.JTable 提供类和接口。
|
javax.swing.text |
提供类和接口处理编辑和不可编辑的文本组件。
|
javax.swing.text.html |
提供类
HTMLEditorKit 和创建HTML文本编辑器支持类。
|
javax.swing.tree |
处理
javax.swing.JTree 提供类和接口。
|
org.omg.CORBA |
提供了对OMG的CORBA映射的API java
TM编程语言,包括班级
ORB,并使程序员可以使用它作为一个全功能的对象请求代理(ORB)。
|
org.omg.CORBA.portable |
提供了一个可移植层,即一套球的API,使得代码由一个供应商生成运行在另一个供应商的宝珠。
|
Modifier and Type | Field and Description |
---|---|
static int |
Frame.CROSSHAIR_CURSOR
过时的。
取而代之的
Cursor.CROSSHAIR_CURSOR 。
|
static int |
Frame.DEFAULT_CURSOR
过时的。
取而代之的
Cursor.DEFAULT_CURSOR 。
|
static int |
Frame.E_RESIZE_CURSOR
过时的。
取而代之的
Cursor.E_RESIZE_CURSOR 。
|
static int |
Frame.HAND_CURSOR
过时的。
取而代之的
Cursor.HAND_CURSOR 。
|
static int |
Frame.MOVE_CURSOR
过时的。
取而代之的
Cursor.MOVE_CURSOR 。
|
static int |
Frame.N_RESIZE_CURSOR
过时的。
取而代之的
Cursor.N_RESIZE_CURSOR 。
|
static int |
Frame.NE_RESIZE_CURSOR
过时的。
取而代之的
Cursor.NE_RESIZE_CURSOR 。
|
static int |
Frame.NW_RESIZE_CURSOR
过时的。
取而代之的
Cursor.NW_RESIZE_CURSOR 。
|
protected static Cursor[] |
Cursor.predefined
过时的。
作为JDK 1.7版本,该
Cursor.getPredefinedCursor(int) 方法应该用来代替。
|
static int |
Frame.S_RESIZE_CURSOR
过时的。
取而代之的
Cursor.S_RESIZE_CURSOR 。
|
static int |
Frame.SE_RESIZE_CURSOR
过时的。
取而代之的
Cursor.SE_RESIZE_CURSOR 。
|
static int |
Frame.SW_RESIZE_CURSOR
过时的。
取而代之的
Cursor.SW_RESIZE_CURSOR 。
|
static int |
Frame.TEXT_CURSOR
过时的。
取而代之的
Cursor.TEXT_CURSOR 。
|
static int |
Frame.W_RESIZE_CURSOR
过时的。
取而代之的
Cursor.W_RESIZE_CURSOR 。
|
static int |
Frame.WAIT_CURSOR
过时的。
取而代之的
Cursor.WAIT_CURSOR 。
|
Modifier and Type | Method and Description |
---|---|
boolean |
Component.action(Event evt, Object what)
过时的。
作为JDK 1.1版本,应登记该组件在组件的火灾行为的功能。
|
void |
List.addItem(String item)
过时的。
取而代之的
add(String) 。
|
void |
List.addItem(String item, int index)
过时的。
取而代之的
add(String, int) 。
|
void |
BorderLayout.addLayoutComponent(String name, Component comp)
过时的。
取而代之的
addLayoutComponent(Component, Object) 。
|
void |
CardLayout.addLayoutComponent(String name, Component comp)
过时的。
取而代之的
addLayoutComponent(Component, Object) 。
|
boolean |
List.allowsMultipleSelections()
过时的。
作为JDK 1.1版本,取而代之的
isMultipleMode() 。
|
void |
TextArea.appendText(String str)
过时的。
作为JDK 1.1版本,取而代之的
append(String) 。
|
void |
Window.applyResourceBundle(ResourceBundle rb)
过时的。
在J2SE 1.4,取而代之的
Component.applyComponentOrientation 。
|
void |
Window.applyResourceBundle(String rbName)
过时的。
在J2SE 1.4,取而代之的
Component.applyComponentOrientation 。
|
Rectangle |
Component.bounds()
过时的。
作为JDK 1.1版本,取而代之的
getBounds() 。
|
void |
List.clear()
过时的。
作为JDK 1.1版本,取而代之的
removeAll() 。
|
int |
Container.countComponents()
过时的。
作为JDK 1.1版本,取而代之的getcomponentcount()。
|
int |
Choice.countItems()
过时的。
作为JDK 1.1版本,取而代之的
getItemCount() 。
|
int |
List.countItems()
过时的。
作为JDK 1.1版本,取而代之的
getItemCount() 。
|
int |
Menu.countItems()
过时的。
作为JDK 1.1版本,取而代之的
getItemCount() 。
|
int |
MenuBar.countMenus()
过时的。
作为JDK 1.1版本,取而代之的
getMenuCount() 。
|
void |
List.delItem(int position)
过时的。
通过
remove(String) 和remove(int) 取代。
|
void |
List.delItems(int start, int end)
过时的。
作为JDK 1.1版本,不为未来的公共使用。此方法预计将保留仅作为一个包私有方法。
|
void |
Container.deliverEvent(Event e)
过时的。
作为JDK 1.1版本,取而代之的
dispatchEvent(AWTEvent e)
|
void |
Component.deliverEvent(Event e)
过时的。
作为JDK 1.1版本,取而代之的
dispatchEvent(AWTEvent e) 。
|
void |
MenuItem.disable()
过时的。
作为JDK 1.1版本,取而代之的
setEnabled(boolean) 。
|
void |
Component.disable()
过时的。
作为JDK 1.1版本,取而代之的
setEnabled(boolean) 。
|
void |
MenuItem.enable()
过时的。
作为JDK 1.1版本,取而代之的
setEnabled(boolean) 。
|
void |
Component.enable()
过时的。
作为JDK 1.1版本,取而代之的
setEnabled(boolean) 。
|
void |
MenuItem.enable(boolean b)
过时的。
作为JDK 1.1版本,取而代之的
setEnabled(boolean) 。
|
void |
Component.enable(boolean b)
过时的。
作为JDK 1.1版本,取而代之的
setEnabled(boolean) 。
|
Rectangle |
Polygon.getBoundingBox()
过时的。
作为JDK 1.1版本,取而代之的
getBounds() 。
|
Rectangle |
Graphics.getClipRect()
过时的。
作为JDK 1.1版本,取而代之的
getClipBounds() 。
|
Checkbox |
CheckboxGroup.getCurrent()
过时的。
作为JDK 1.1版本,取而代之的
getSelectedCheckbox() 。
|
int |
Frame.getCursorType()
过时的。
作为JDK 1.1版本,取而代之的
Component.getCursor() 。
|
abstract String[] |
Toolkit.getFontList()
|
abstract FontMetrics |
Toolkit.getFontMetrics(Font font)
过时的。
作为JDK 1.2版本,由
Font getLineMetrics 更换方法。
|
protected abstract java.awt.peer.FontPeer |
Toolkit.getFontPeer(String name, int style)
过时的。
看到java AWT,graphicsenvironment # getallfonts
|
int |
Scrollbar.getLineIncrement()
过时的。
作为JDK 1.1版本,取而代之的
getUnitIncrement() 。
|
int |
FontMetrics.getMaxDecent()
过时的。
作为JDK版本1.1.1,取而代之的
getMaxDescent() 。
|
static ComponentOrientation |
ComponentOrientation.getOrientation(ResourceBundle bdl)
过时的。
|
int |
Scrollbar.getPageIncrement()
过时的。
作为JDK 1.1版本,取而代之的
getBlockIncrement() 。
|
java.awt.peer.FontPeer |
Font.getPeer()
过时的。
字体渲染现在是独立于平台的。
|
java.awt.peer.MenuComponentPeer |
MenuComponent.getPeer()
过时的。
作为JDK 1.1版本,程序不能直接操纵同行。
|
java.awt.peer.ComponentPeer |
Component.getPeer()
过时的。
作为JDK 1.1版本,程序不能直接操纵同行;取而代之的
boolean isDisplayable() 。
|
int |
Scrollbar.getVisible()
过时的。
作为JDK 1.1版本,取而代之的
getVisibleAmount() 。
|
boolean |
Component.gotFocus(Event evt, Object what)
过时的。
作为JDK 1.1版本,取而代之的processfocusevent(键盘)。
|
boolean |
Component.handleEvent(Event evt)
过时的。
作为JDK版本1.1取代processEvent(awtevent)。
|
void |
Dialog.hide()
过时的。
作为JDK 1.5版本,取而代之的
setVisible(boolean) 。
|
void |
Window.hide()
过时的。
作为JDK 1.5版本,取而代之的
Window.setVisible(boolean) 。
|
void |
Component.hide()
过时的。
作为JDK 1.1版本,取而代之的
setVisible(boolean) 。
|
void |
TextArea.insertText(String str, int pos)
过时的。
作为JDK 1.1版本,取而代之的
insert(String, int) 。
|
Insets |
Container.insets()
过时的。
作为JDK 1.1版本,取而代之的
getInsets() 。
|
boolean |
Rectangle.inside(int X, int Y)
过时的。
作为JDK 1.1版本,取而代之的
contains(int, int) 。
|
boolean |
Polygon.inside(int x, int y)
过时的。
作为JDK 1.1版本,取而代之的
contains(int, int) 。
|
boolean |
Component.inside(int x, int y)
过时的。
作为JDK 1.1版本,由包含(int,int)。
|
boolean |
Component.isFocusTraversable()
过时的。
截至1.4日,由
isFocusable() 。
|
boolean |
List.isSelected(int index)
过时的。
作为JDK 1.1版本,取而代之的
isIndexSelected(int) 。
|
boolean |
Component.keyDown(Event evt, int key)
过时的。
作为JDK版本1.1(keyEvent),取而代之的processkeyevent。
|
boolean |
Component.keyUp(Event evt, int key)
过时的。
作为JDK版本1.1(keyEvent),取而代之的processkeyevent。
|
void |
ScrollPane.layout()
过时的。
作为JDK 1.1版本,取而代之的
doLayout() 。
|
void |
Container.layout()
过时的。
作为JDK 1.1版本,取而代之的
doLayout() 。
|
void |
Component.layout()
过时的。
作为JDK 1.1版本,取而代之的
doLayout() 。
|
Component |
Container.locate(int x, int y)
过时的。
作为JDK 1.1版本,取而代之的
getComponentAt(int, int) 。
|
Component |
Component.locate(int x, int y)
过时的。
作为JDK 1.1版本,取而代之的getcomponentat(int,int)。
|
Point |
Component.location()
过时的。
作为JDK 1.1版本,取而代之的
getLocation() 。
|
boolean |
Component.lostFocus(Event evt, Object what)
过时的。
作为JDK 1.1版本,取而代之的processfocusevent(键盘)。
|
Dimension |
List.minimumSize()
过时的。
作为JDK 1.1版本,取而代之的
getMinimumSize() 。
|
Dimension |
Container.minimumSize()
过时的。
作为JDK 1.1版本,取而代之的
getMinimumSize() 。
|
Dimension |
TextArea.minimumSize()
过时的。
作为JDK 1.1版本,取而代之的
getMinimumSize() 。
|
Dimension |
Component.minimumSize()
过时的。
作为JDK 1.1版本,取而代之的
getMinimumSize() 。
|
Dimension |
TextField.minimumSize()
过时的。
作为JDK 1.1版本,取而代之的
getMinimumSize() 。
|
Dimension |
List.minimumSize(int rows)
过时的。
作为JDK 1.1版本,取而代之的
getMinimumSize(int) 。
|
Dimension |
TextField.minimumSize(int columns)
过时的。
作为JDK 1.1版本,取而代之的
getMinimumSize(int) 。
|
Dimension |
TextArea.minimumSize(int rows, int columns)
过时的。
作为JDK 1.1版本,取而代之的
getMinimumSize(int, int) 。
|
boolean |
Component.mouseDown(Event evt, int x, int y)
过时的。
作为JDK 1.1版本,取而代之的processmouseevent(译文)。
|
boolean |
Component.mouseDrag(Event evt, int x, int y)
过时的。
作为JDK 1.1版本,取而代之的processmousemotionevent(译文)。
|
boolean |
Component.mouseEnter(Event evt, int x, int y)
过时的。
作为JDK 1.1版本,取而代之的processmouseevent(译文)。
|
boolean |
Component.mouseExit(Event evt, int x, int y)
过时的。
作为JDK 1.1版本,取而代之的processmouseevent(译文)。
|
boolean |
Component.mouseMove(Event evt, int x, int y)
过时的。
作为JDK 1.1版本,取而代之的processmousemotionevent(译文)。
|
boolean |
Component.mouseUp(Event evt, int x, int y)
过时的。
作为JDK 1.1版本,取而代之的processmouseevent(译文)。
|
void |
Rectangle.move(int x, int y)
过时的。
作为JDK 1.1版本,取而代之的
setLocation(int, int) 。
|
void |
Component.move(int x, int y)
过时的。
作为JDK 1.1版本,取而代之的
setLocation(int, int) 。
|
void |
Component.nextFocus()
过时的。
作为JDK 1.1版本,取而代之的transferfocus()。
|
boolean |
MenuContainer.postEvent(Event evt)
过时的。
作为JDK版本1.1被dispatchevent(awtevent)。
|
boolean |
Window.postEvent(Event e)
过时的。
作为JDK版本1.1被
dispatchEvent(AWTEvent) 。
|
boolean |
MenuComponent.postEvent(Event evt)
过时的。
作为JDK 1.1版本,取而代之的
dispatchEvent 。
|
boolean |
Component.postEvent(Event e)
过时的。
作为JDK 1.1版本,取而代之的dispatchevent(awtevent)。
|
Dimension |
List.preferredSize()
过时的。
作为JDK 1.1版本,取而代之的
getPreferredSize() 。
|
Dimension |
Container.preferredSize()
过时的。
作为JDK 1.1版本,取而代之的
getPreferredSize() 。
|
Dimension |
TextArea.preferredSize()
过时的。
作为JDK 1.1版本,取而代之的
getPreferredSize() 。
|
Dimension |
Component.preferredSize()
过时的。
作为JDK 1.1版本,取而代之的
getPreferredSize() 。
|
Dimension |
TextField.preferredSize()
过时的。
作为JDK 1.1版本,取而代之的
getPreferredSize() 。
|
Dimension |
List.preferredSize(int rows)
过时的。
作为JDK 1.1版本,取而代之的
getPreferredSize(int) 。
|
Dimension |
TextField.preferredSize(int columns)
过时的。
作为JDK 1.1版本,取而代之的
getPreferredSize(int) 。
|
Dimension |
TextArea.preferredSize(int rows, int columns)
过时的。
作为JDK 1.1版本,取而代之的
getPreferredSize(int, int) 。
|
void |
TextArea.replaceText(String str, int start, int end)
过时的。
作为JDK 1.1版本,取而代之的
replaceRange(String, int, int) 。
|
void |
Window.reshape(int x, int y, int width, int height)
过时的。
作为JDK 1.1版本,取而代之的
setBounds(int, int, int, int) 。
|
void |
Rectangle.reshape(int x, int y, int width, int height)
过时的。
作为JDK 1.1版本,取而代之的
setBounds(int, int, int, int) 。
|
void |
Component.reshape(int x, int y, int width, int height)
过时的。
作为JDK 1.1版本,取而代之的
setBounds(int, int, int, int) 。
|
void |
Component.resize(Dimension d)
过时的。
作为JDK 1.1版本,取而代之的
setSize(Dimension) 。
|
void |
Rectangle.resize(int width, int height)
过时的。
作为JDK 1.1版本,取而代之的
setSize(int, int) 。
|
void |
Component.resize(int width, int height)
过时的。
作为JDK 1.1版本,取而代之的
setSize(int, int) 。
|
void |
CheckboxGroup.setCurrent(Checkbox box)
过时的。
作为JDK 1.1版本,取而代之的
setSelectedCheckbox(Checkbox) 。
|
void |
Frame.setCursor(int cursorType)
过时的。
作为JDK 1.1版本,取而代之的
Component.setCursor(Cursor) 。
|
void |
TextField.setEchoCharacter(char c)
过时的。
作为JDK 1.1版本,取而代之的
setEchoChar(char) 。
|
void |
Scrollbar.setLineIncrement(int v)
过时的。
作为JDK 1.1版本,取而代之的
setUnitIncrement(int) 。
|
void |
List.setMultipleSelections(boolean b)
过时的。
作为JDK 1.1版本,取而代之的
setMultipleMode(boolean) 。
|
void |
Scrollbar.setPageIncrement(int v)
过时的。
作为JDK 1.1版本,取而代之的
setBlockIncrement() 。
|
void |
Dialog.show()
过时的。
作为JDK 1.5版本,取而代之的
setVisible(boolean) 。
|
void |
Window.show()
过时的。
作为JDK 1.5版本,取而代之的
Window.setVisible(boolean) 。
|
void |
Component.show()
过时的。
作为JDK 1.1版本,取而代之的
setVisible(boolean) 。
|
void |
Component.show(boolean b)
过时的。
作为JDK 1.1版本,取而代之的
setVisible(boolean) 。
|
Dimension |
Component.size()
过时的。
作为JDK 1.1版本,取而代之的
getSize() 。
|
Modifier and Type | Field and Description |
---|---|
static DataFlavor |
DataFlavor.plainTextFlavor
过时的。
截至1.3。用
Transferable.getTransferData(DataFlavor.plainTextFlavor) DataFlavor.getReaderForText(Transferable) 。
|
Modifier and Type | Method and Description |
---|---|
boolean |
DataFlavor.equals(String s)
过时的。
与
hashCode() 合同不一致的,而不是使用isMimeTypeEqual(String) 。
|
protected String |
DataFlavor.normalizeMimeType(String mimeType)
过时的。
|
protected String |
DataFlavor.normalizeMimeTypeParameter(String parameterName, String parameterValue)
过时的。
|
Modifier and Type | Method and Description |
---|---|
void |
KeyEvent.setModifiers(int modifiers)
过时的。
作为jdk1.1.4
|
Constructor and Description |
---|
KeyEvent(Component source, int id, long when, int modifiers, int keyCode)
过时的。
在JDK1.1
|
Modifier and Type | Method and Description |
---|---|
void |
RenderContext.concetenateTransform(AffineTransform modTransform)
过时的。
取而代之的
concatenateTransform(AffineTransform) 。
|
void |
RenderContext.preConcetenateTransform(AffineTransform modTransform)
过时的。
取而代之的
preConcatenateTransform(AffineTransform) 。
|
Modifier and Type | Class and Description |
---|---|
class |
LineNumberInputStream
过时的。
这个类错误地假定字节充分代表字符。作为JDK 1.1,对字符流操作的首选方式是通过新的字符流类,包括计算行数类。
|
class |
StringBufferInputStream
过时的。
这个类没有正确地将字符转换为字节。作为 JDK 1.1,要从一个字符串创建一流的首选方式是通过
StringReader 类。
|
Modifier and Type | Method and Description |
---|---|
String |
ObjectInputStream.readLine()
过时的。
此方法没有正确地将字节转换为字符。详见和替代输入流。
|
String |
DataInputStream.readLine()
过时的。
此方法没有正确地将字节转换为字符。作为 JDK 1.1,阅读文本行的首选方式是通过
BufferedReader.readLine() 方法。程序使用的DataInputStream 类的台词可以转换的形式替换代码中使用BufferedReader 类:
:DataInputStream d = new DataInputStream(in); BufferedReader d = new BufferedReader(new InputStreamReader(in)); |
String |
ByteArrayOutputStream.toString(int hibyte)
过时的。
这种方法不正确地将字节转换为字符。作为 JDK 1.1,这样的首选方式是通过
toString(String enc) 方法,它以一个编码名称的争论,或toString() 方法,使用平台的默认字符编码。
|
URL |
File.toURL()
|
abstract void |
ObjectOutputStream.PutField.write(ObjectOutput out)
过时的。
此方法不写这
PutField 对象中的值在一个适当的格式,并可能导致序列化流腐败。写PutField 数据的正确方法是通过调用ObjectOutputStream.writeFields() 方法。
|
Constructor and Description |
---|
StreamTokenizer(InputStream is)
过时的。
作为JDK 1.1版本,来标记一个输入流的首选方式是把它转换成字符流,例如:
Reader r = new BufferedReader(new InputStreamReader(is)); StreamTokenizer st = new StreamTokenizer(r); |
Modifier and Type | Field and Description |
---|---|
protected boolean |
SecurityManager.inCheck
过时的。
不建议使用这种类型的安全检查。建议
checkPermission 可以用来代替。
|
static Character.UnicodeBlock |
Character.UnicodeBlock.SURROGATES_AREA
过时的。
在J2SE 5,使用
Character.UnicodeBlock.HIGH_SURROGATES ,Character.UnicodeBlock.HIGH_PRIVATE_USE_SURROGATES ,和Character.UnicodeBlock.LOW_SURROGATES 。这些新的常数匹配Unicode标准的块定义。的Character.UnicodeBlock.of(char) 和Character.UnicodeBlock.of(int) 方法返回新的常数,不surrogates_area。
|
Modifier and Type | Method and Description |
---|---|
boolean |
ThreadGroup.allowThreadSuspension(boolean b)
过时的。
这个调用的定义取决于
ThreadGroup.suspend() ,这是过时的。此外,这个调用的行为从来没有被指定。
|
void |
SecurityManager.checkAwtEventQueueAccess()
过时的。
在
AWTPermission 依赖创建java平台的未来模块化的障碍。这种方法的用户应该SecurityManager.checkPermission(java.security.Permission) 直接调用。这种方法将在未来的版本中查看权限java.security.AllPermission 改变。
|
void |
SecurityManager.checkMemberAccess(类<?> clazz, int which)
过时的。
此方法依赖于调用方在4的堆栈深度,这是容易出错的,不能由运行时执行。这种方法的用户应该
SecurityManager.checkPermission(java.security.Permission) 直接调用。这种方法将在未来的版本中查看权限java.security.AllPermission 改变。
|
void |
SecurityManager.checkMulticast(InetAddress maddr, byte ttl)
过时的。
使用# checkPermission(java。安全。许可)代替
|
void |
SecurityManager.checkSystemClipboardAccess()
过时的。
在
AWTPermission 依赖创建java平台的未来模块化的障碍。这种方法的用户应该SecurityManager.checkPermission(java.security.Permission) 直接调用。这种方法将在未来的版本中查看权限java.security.AllPermission 改变。
|
boolean |
SecurityManager.checkTopLevelWindow(Object window)
过时的。
在
AWTPermission 依赖创建java平台的未来模块化的障碍。这种方法的用户应该SecurityManager.checkPermission(java.security.Permission) 直接调用。这种方法将在未来的版本中查看权限java.security.AllPermission 改变。
|
protected int |
SecurityManager.classDepth(String name)
过时的。
不建议使用这种类型的安全检查。建议
checkPermission 可以用来代替。
|
protected int |
SecurityManager.classLoaderDepth()
过时的。
不建议使用这种类型的安全检查。建议
checkPermission 可以用来代替。
|
int |
Thread.countStackFrames()
过时的。
这个调用的定义取决于
Thread.suspend() ,这是过时的。此外,这个调用的结果从来没有明确的。
|
protected ClassLoader |
SecurityManager.currentClassLoader()
过时的。
不建议使用这种类型的安全检查。建议
checkPermission 可以用来代替。
|
protected 类<?> |
SecurityManager.currentLoadedClass()
过时的。
不建议使用这种类型的安全检查。建议
checkPermission 可以用来代替。
|
protected 类<?> |
ClassLoader.defineClass(byte[] b, int off, int len)
过时的。
|
void |
Thread.destroy()
过时的。
这种方法最初被设计来破坏这个线程没有任何清理。任何它举行的显示器将保持锁定。然而,该方法从未被实现。如果得以实施,它将在多
Thread.suspend() 方式是容易导致死锁。如果目标线程在被破坏时保持一个锁保护一个关键系统资源,则没有线程可以再次访问该资源。如果另一个线程试图锁定此资源,死锁将导致死锁。这种死锁通常表现为“冻结”的过程。更多信息,见 Why are Thread.stop, Thread.suspend and Thread.resume Deprecated?。
|
void |
String.getBytes(int srcBegin, int srcEnd, byte[] dst, int dstBegin)
过时的。
这种方法不正确地将字符转换为字节。作为 JDK 1.1,这样的首选方式是通过
String.getBytes() 方法,它使用平台的默认字符集。
|
boolean |
SecurityManager.getInCheck()
过时的。
不建议使用这种类型的安全检查。建议
checkPermission 可以用来代替。
|
InputStream |
Runtime.getLocalizedInputStream(InputStream in)
过时的。
作为 JDK 1.1,在当地的编码为Unicode字符流转换字节流的首选方式是通过
InputStreamReader 和BufferedReader 类。
|
OutputStream |
Runtime.getLocalizedOutputStream(OutputStream out)
过时的。
作为 JDK 1.1,将一个Unicode字符流在本地编码的字节流的首选方式是通过
OutputStreamWriter ,BufferedWriter ,和PrintWriter 类。
|
protected boolean |
SecurityManager.inClass(String name)
过时的。
不建议使用这种类型的安全检查。建议
checkPermission 可以用来代替。
|
protected boolean |
SecurityManager.inClassLoader()
过时的。
不建议使用这种类型的安全检查。建议
checkPermission 可以用来代替。
|
static boolean |
Character.isJavaLetter(char ch)
过时的。
取而代之的isjavaidentifierstart(char)。
|
static boolean |
Character.isJavaLetterOrDigit(char ch)
过时的。
取而代之的isjavaidentifierpart(char)。
|
static boolean |
Character.isSpace(char ch)
过时的。
取而代之的iswhitespace(char)。
|
void |
Thread.resume()
过时的。
仅用于与
Thread.suspend() 这个方法的存在,这已被否决是因为它容易导致死锁。更多信息,见Why are Thread.stop, Thread.suspend and Thread.resume Deprecated?。
|
void |
ThreadGroup.resume()
过时的。
此方法仅用于与Thread.suspend和ThreadGroup.suspend一起,都被否决,因为他们天生就容易导致死锁。看到
Thread.suspend() 详情。
|
static void |
Runtime.runFinalizersOnExit(boolean value)
过时的。
这种方法本质上是不安全的。这可能会导致在终结器被称为活的对象而其他线程同时操作这些对象,导致不稳定的行为或死锁。
|
static void |
System.runFinalizersOnExit(boolean value)
过时的。
这种方法本质上是不安全的。这可能会导致在终结器被称为活的对象而其他线程同时操作这些对象,导致不稳定的行为或死锁。
|
void |
Thread.stop()
过时的。
这种方法本质上是不安全的。停止一个线程Thread.stop会解开所有的监视器,它已锁定(如未选中的
ThreadDeath 异常传播到堆栈的自然结果)。如果以前受这些监视器保护的对象在一个不一致的状态,损坏的对象成为可见的其他线程,可能导致任意的行为。对stop 多用途应替换代码,简单的修改一些变量来指示目标线程停止运行。目标线程应该定期检查这个变量,并从它的运行方法返回一个有秩序的方式,如果变量表明它是停止运行。如果目标线程等待很长的时间(一个条件变量,例如),该interrupt 方法应该用于中断等。更多信息,见Why are Thread.stop, Thread.suspend and Thread.resume Deprecated?。
|
void |
ThreadGroup.stop()
过时的。
这种方法本质上是不安全的。看到
Thread.stop() 详情。
|
void |
Thread.stop(Throwable obj)
过时的。
这种方法的最初目的是迫使一个线程停止,扔给
Throwable 作为例外。它本质上是不安全的(见Thread.stop() 详情),并可产生异常目标线程并没有准备好处理。更多信息,见Why are Thread.stop, Thread.suspend and Thread.resume Deprecated?。
|
void |
Thread.suspend()
过时的。
此方法已被否决,因为它本质上是容易导致死锁。如果目标线程在暂停时保持监视器上的锁的锁,则没有线程可以访问该资源,直到恢复目标线程。如果线程,将恢复目标线程试图锁定监控呼叫
resume 之前,僵局的结果。这种死锁通常表现为“冻结”的过程。更多信息,见Why are Thread.stop, Thread.suspend and Thread.resume Deprecated?。
|
void |
ThreadGroup.suspend()
过时的。
这种方法本质上是容易发生死锁的。看到
Thread.suspend() 详情。
|
Constructor and Description |
---|
String(byte[] ascii, int hibyte)
过时的。
这种方法不正确地将字节转换为字符。作为 JDK 1.1,这样的首选方式是通过
String 构造函数带Charset ,字符集名称,或使用平台的默认字符集。
|
String(byte[] ascii, int hibyte, int offset, int count)
过时的。
这种方法不正确地将字节转换为字符。作为 JDK 1.1,这样的首选方式是通过
String 构造函数带Charset ,字符集名称,或使用平台的默认字符集。
|
Modifier and Type | Field and Description |
---|---|
static int |
HttpURLConnection.HTTP_SERVER_ERROR
过时的。
它是错误的,不应该存在。
|
Modifier and Type | Method and Description |
---|---|
static String |
URLDecoder.decode(String s)
过时的。
由此产生的字符串可能会有所不同,这取决于该平台的默认编码。相反,使用解码(字符串,字符串)方法来指定编码。
|
static String |
URLEncoder.encode(String s)
过时的。
由此产生的字符串可能会有所不同,这取决于该平台的默认编码。相反,使用编码(字符串,字符串)方法来指定编码。
|
static String |
URLConnection.getDefaultRequestProperty(String key)
过时的。
具体的实例getrequestproperty方法应使用后得到URLConnection适当的实例。
|
byte |
MulticastSocket.getTTL()
过时的。
使用gettimetolive方法相反,它返回一个int代替一个字节。
|
protected abstract byte |
DatagramSocketImpl.getTTL()
过时的。
使用gettimetolive相反。
|
void |
MulticastSocket.send(DatagramPacket p, byte ttl)
过时的。
使用下面的代码或其等效的:int TTL = mcastsocket。gettimetolive();mcastsocket。settimetolive(newttl);mcastsocket。发送(P);mcastsocket。settimetolive(TTL);......
|
static void |
URLConnection.setDefaultRequestProperty(String key, String value)
过时的。
实例具体setRequestProperty方法应使用后得到URLConnection适当的实例。调用此方法将不会有任何效果。
|
void |
MulticastSocket.setTTL(byte ttl)
过时的。
使用settimetolive方法相反,它使用int代替字节为TTL型。
|
protected abstract void |
DatagramSocketImpl.setTTL(byte ttl)
过时的。
使用settimetolive相反。
|
protected void |
URLStreamHandler.setURL(URL u, String protocol, String host, int port, String file, String ref)
过时的。
使用seturl(URL字符串,字符串,整数,字符串,字符串,字符串,字符串);
|
Constructor and Description |
---|
Socket(InetAddress host, int port, boolean stream)
过时的。
使用UDP传输DatagramSocket。
|
Socket(String host, int port, boolean stream)
过时的。
使用UDP传输DatagramSocket。
|
Modifier and Type | Class and Description |
---|---|
class |
RMISecurityException
过时的。
使用
SecurityException 相反。应用程序代码不应该直接引用这个类,和RMISecurityManager 不再把这类java.lang.SecurityException 。
|
class |
RMISecurityManager
过时的。
使用
SecurityManager 相反。
|
class |
ServerRuntimeException
过时的。
没有更换
|
Constructor and Description |
---|
RMISecurityException(String name)
过时的。
没有更换
|
RMISecurityException(String name, String arg)
过时的。
没有更换
|
ServerRuntimeException(String s, 异常 ex)
过时的。
没有更换
|
Modifier and Type | Method and Description |
---|---|
static boolean |
VMID.isUnique()
过时的。
|
Modifier and Type | Interface and Description |
---|---|
interface |
RegistryHandler
过时的。
没有更换
|
Modifier and Type | Method and Description |
---|---|
Registry |
RegistryHandler.registryImpl(int port)
过时的。
没有更换。作为java 2平台V1.2,RMI不再使用
RegistryHandler 获取注册表的实现。
|
Registry |
RegistryHandler.registryStub(String host, int port)
过时的。
没有更换。作为java 2平台V1.2,RMI不再使用
RegistryHandler 获得登记的存根。
|
Modifier and Type | Interface and Description |
---|---|
interface |
LoaderHandler
过时的。
没有更换
|
class |
LogStream
过时的。
没有更换
|
class |
Operation
过时的。
没有更换
|
interface |
RemoteCall
过时的。
没有更换。
|
class |
RemoteStub
过时的。
静态生成的存根是过时的,因为单是动态生成的。看到有关动态存根生成信息
UnicastRemoteObject 。
|
interface |
ServerRef
过时的。
没有更换。此接口是未使用的,是过时的。
|
interface |
Skeleton
过时的。
没有更换。骷髅是远程方法不再需要调用java 2平台1.2和大。
|
class |
SkeletonMismatchException
过时的。
没有更换。骷髅是远程方法不再需要调用java 2平台1.2和大。
|
class |
SkeletonNotFoundException
过时的。
没有更换。骷髅是远程方法不再需要调用java 2平台1.2和大。
|
class |
SocketSecurityException
过时的。
这个类是过时的。使用
ExportException 相反。
|
Modifier and Type | Method and Description |
---|---|
void |
Skeleton.dispatch(Remote obj, RemoteCall theCall, int opnum, long hash)
过时的。
没有更换
|
void |
RemoteCall.done()
过时的。
没有更换
|
void |
RemoteRef.done(RemoteCall call)
过时的。
1.2式单不再使用这种方法。而不是使用一个序列的方法调用的远程引用(
newCall ,invoke ,和done ),一个使用一个单一的方法,invoke(Remote, Method, Object[], int) ,在远程参考进行参数编组,执行远程方法的返回值和解包。
|
void |
RemoteCall.executeCall()
过时的。
没有更换
|
static RemoteStub |
UnicastRemoteObject.exportObject(Remote obj)
过时的。
这种方法已经过时了,它只支持静态存根。使用
exportObject(Remote, port) 或exportObject(Remote, port, csf, ssf) 相反。
|
static PrintStream |
LogStream.getDefaultStream()
过时的。
没有更换
|
ObjectInput |
RemoteCall.getInputStream()
过时的。
没有更换
|
String |
Operation.getOperation()
过时的。
没有更换
|
Operation[] |
Skeleton.getOperations()
过时的。
没有更换
|
ObjectOutput |
RemoteCall.getOutputStream()
过时的。
没有更换
|
OutputStream |
LogStream.getOutputStream()
过时的。
没有更换
|
ObjectOutput |
RemoteCall.getResultStream(boolean success)
过时的。
没有更换
|
Object |
LoaderHandler.getSecurityContext(ClassLoader loader)
过时的。
没有更换
|
static Object |
RMIClassLoader.getSecurityContext(ClassLoader loader)
过时的。
没有更换。作为java 2平台V1.2,RMI不再使用此方法获得的类装载器的安全上下文。
|
void |
RemoteRef.invoke(RemoteCall call)
过时的。
1.2式单不再使用这种方法。而不是使用一个序列的方法调用的远程引用(
newCall ,invoke ,和done ),一个使用一个单一的方法,invoke(Remote, Method, Object[], int) ,在远程参考进行参数编组,执行远程方法的返回值和解包。
|
类<?> |
LoaderHandler.loadClass(String name)
过时的。
没有更换
|
static 类<?> |
RMIClassLoader.loadClass(String name)
过时的。
通过
loadClass(String,String) 法代替
|
类<?> |
LoaderHandler.loadClass(URL codebase, String name)
过时的。
没有更换
|
static LogStream |
LogStream.log(String name)
过时的。
没有更换
|
RemoteCall |
RemoteRef.newCall(RemoteObject obj, Operation[] op, int opnum, long hash)
过时的。
1.2式单不再使用这种方法。而不是使用一个序列的方法调用存根上的远程参考(
newCall ,invoke ,和done ),一个使用一个单一的方法,invoke(Remote, Method, Object[], int) ,在远程参考进行参数编组,执行远程方法的返回值和解包。
|
static int |
LogStream.parseLevel(String s)
过时的。
没有更换
|
void |
RemoteCall.releaseInputStream()
过时的。
没有更换
|
void |
RemoteCall.releaseOutputStream()
过时的。
没有更换
|
static void |
LogStream.setDefaultStream(PrintStream newDefault)
过时的。
没有更换
|
void |
LogStream.setOutputStream(OutputStream out)
过时的。
没有更换
|
protected static void |
RemoteStub.setRef(RemoteStub stub, RemoteRef ref)
过时的。
没有更换。的
setRef 方法用于设置远程存根的远程引用。这是不必要的,因为RemoteStub s可以创建并通过使用构造函数初始化的RemoteStub.RemoteStub(RemoteRef) 远程引用。
|
String |
LogStream.toString()
过时的。
没有更换
|
String |
Operation.toString()
过时的。
没有更换
|
void |
LogStream.write(byte[] b, int off, int len)
过时的。
没有更换
|
void |
LogStream.write(int b)
过时的。
没有更换
|
Constructor and Description |
---|
Operation(String op)
过时的。
没有更换
|
SkeletonMismatchException(String s)
过时的。
没有更换
|
Modifier and Type | Interface and Description |
---|---|
interface |
Certificate
过时的。
一个新的证书处理包是在java平台的创建。此证书的界面完全是过时的,以便平稳过渡到新的包。
|
class |
Identity
过时的。
这个类不再使用。它的功能已经取代了
java.security.KeyStore ,java.security.cert 包,和java.security.Principal 。
|
class |
IdentityScope
过时的。
这个类不再使用。它的功能已经取代了
java.security.KeyStore ,java.security.cert 包,和java.security.Principal 。
|
class |
Signer
过时的。
这个类不再使用。它的功能已经取代了
java.security.KeyStore ,java.security.cert 包,和java.security.Principal 。
|
Modifier and Type | Method and Description |
---|---|
protected abstract Object |
SignatureSpi.engineGetParameter(String param)
过时的。
|
protected abstract void |
SignatureSpi.engineSetParameter(String param, Object value)
过时的。
取而代之的
engineSetParameter 。
|
static String |
Security.getAlgorithmProperty(String algName, String propName)
过时的。
此方法用于在“太阳”密码服务提供商的主文件中返回一个私有属性的值,以确定如何解析算法的具体参数。使用新的供应商和基于算法的独立
AlgorithmParameters 和KeyFactory 引擎类(介绍J2SE 1.2版平台)代替。
|
Object |
Signature.getParameter(String param)
过时的。
|
void |
Signature.setParameter(String param, Object value)
过时的。
使用
setParameter 。
|
Modifier and Type | Method and Description |
---|---|
BigDecimal |
ResultSet.getBigDecimal(int columnIndex, int scale)
过时的。
使用
getBigDecimal(int columnIndex) 或getBigDecimal(String columnLabel)
|
BigDecimal |
CallableStatement.getBigDecimal(int parameterIndex, int scale)
过时的。
使用
getBigDecimal(int parameterIndex) 或getBigDecimal(String parameterName)
|
BigDecimal |
ResultSet.getBigDecimal(String columnLabel, int scale)
过时的。
使用
getBigDecimal(int columnIndex) 或getBigDecimal(String columnLabel)
|
int |
Time.getDate()
过时的。
|
int |
Time.getDay()
过时的。
|
int |
Date.getHours()
过时的。
|
static PrintStream |
DriverManager.getLogStream()
过时的。
使用
getLogWriter
|
int |
Date.getMinutes()
过时的。
|
int |
Time.getMonth()
过时的。
|
int |
Date.getSeconds()
过时的。
|
InputStream |
ResultSet.getUnicodeStream(int columnIndex)
过时的。
在地方
getUnicodeStream 使用getCharacterStream
|
InputStream |
ResultSet.getUnicodeStream(String columnLabel)
过时的。
使用
getCharacterStream 相反
|
int |
Time.getYear()
过时的。
|
void |
Time.setDate(int i)
过时的。
|
void |
Date.setHours(int i)
过时的。
|
static void |
DriverManager.setLogStream(PrintStream out)
过时的。
使用
setLogWriter
|
void |
Date.setMinutes(int i)
过时的。
|
void |
Time.setMonth(int i)
过时的。
|
void |
Date.setSeconds(int i)
过时的。
|
void |
PreparedStatement.setUnicodeStream(int parameterIndex, InputStream x, int length)
过时的。
使用
setCharacterStream
|
void |
Time.setYear(int i)
过时的。
|
Constructor and Description |
---|
Date(int year, int month, int day)
过时的。
相反,使用构造函数
Date(long date)
|
Time(int hour, int minute, int second)
过时的。
使用需要以毫秒值代替此构造函数的构造函数
|
Timestamp(int year, int month, int date, int hour, int minute, int second, int nano)
过时的。
相反,使用构造函数
Timestamp(long millis)
|
Modifier and Type | Method and Description |
---|---|
int |
Date.getDate()
过时的。
作为JDK 1.1版本,取而代之的
Calendar.get(Calendar.DAY_OF_MONTH) 。
|
int |
Date.getDay()
过时的。
作为JDK 1.1版本,取而代之的
Calendar.get(Calendar.DAY_OF_WEEK) 。
|
int |
Date.getHours()
过时的。
作为JDK 1.1版本,取而代之的
Calendar.get(Calendar.HOUR_OF_DAY) 。
|
int |
Date.getMinutes()
过时的。
作为JDK 1.1版本,取而代之的
Calendar.get(Calendar.MINUTE) 。
|
int |
Date.getMonth()
过时的。
作为JDK 1.1版本,取而代之的
Calendar.get(Calendar.MONTH) 。
|
int |
Date.getSeconds()
过时的。
作为JDK 1.1版本,取而代之的
Calendar.get(Calendar.SECOND) 。
|
int |
Date.getTimezoneOffset()
过时的。
作为JDK 1.1版本,取而代之的
-(Calendar.get(Calendar.ZONE_OFFSET) + Calendar.get(Calendar.DST_OFFSET)) / (60 * 1000) 。
|
int |
Date.getYear()
过时的。
作为JDK 1.1版本,取而代之的
Calendar.get(Calendar.YEAR) - 1900 。
|
static long |
Date.parse(String s)
过时的。
作为JDK 1.1版本,取而代之的
DateFormat.parse(String s) 。
|
void |
Properties.save(OutputStream out, String comments)
过时的。
此方法不如果在保存属性列表发生I/O错误抛出IOException。保存一个属性列表的首选方式是通过
store(OutputStream out, String comments) 法或storeToXML(OutputStream os, String comment) 方法。
|
void |
Date.setDate(int date)
过时的。
作为JDK 1.1版本,取而代之的
Calendar.set(Calendar.DAY_OF_MONTH, int date) 。
|
void |
Date.setHours(int hours)
过时的。
作为JDK 1.1版本,取而代之的
Calendar.set(Calendar.HOUR_OF_DAY, int hours) 。
|
void |
Date.setMinutes(int minutes)
过时的。
作为JDK 1.1版本,取而代之的
Calendar.set(Calendar.MINUTE, int minutes) 。
|
void |
Date.setMonth(int month)
过时的。
作为JDK 1.1版本,取而代之的
Calendar.set(Calendar.MONTH, int month) 。
|
void |
Date.setSeconds(int seconds)
过时的。
作为JDK 1.1版本,取而代之的
Calendar.set(Calendar.SECOND, int seconds) 。
|
void |
Date.setYear(int year)
过时的。
作为JDK 1.1版本,取而代之的
Calendar.set(Calendar.YEAR, year + 1900) 。
|
String |
Date.toGMTString()
过时的。
作为JDK 1.1版本,取而代之的
DateFormat.format(Date date) ,使用时间TimeZone 。
|
String |
Date.toLocaleString()
过时的。
作为JDK 1.1版本,取而代之的
DateFormat.format(Date date) 。
|
static long |
Date.UTC(int year, int month, int date, int hrs, int min, int sec)
过时的。
作为JDK 1.1版本,通过
Calendar.set(year + 1900, month, date, hrs, min, sec) 或GregorianCalendar(year + 1900, month, date, hrs, min, sec) 取代,使用UTC TimeZone ,其次是Calendar.getTime().getTime() 。
|
Constructor and Description |
---|
Date(int year, int month, int date)
过时的。
作为JDK 1.1版本,通过
Calendar.set(year + 1900, month, date) 或GregorianCalendar(year + 1900, month, date) 取代。
|
Date(int year, int month, int date, int hrs, int min)
过时的。
作为JDK 1.1版本,通过
Calendar.set(year + 1900, month, date, hrs, min) 或GregorianCalendar(year + 1900, month, date, hrs, min) 取代。
|
Date(int year, int month, int date, int hrs, int min, int sec)
过时的。
作为JDK 1.1版本,通过
Calendar.set(year + 1900, month, date, hrs, min, sec) 或GregorianCalendar(year + 1900, month, date, hrs, min, sec) 取代。
|
Date(String s)
过时的。
作为JDK 1.1版本,取而代之的
DateFormat.parse(String s) 。
|
Modifier and Type | Method and Description |
---|---|
default void |
Pack200.Packer.addPropertyChangeListener(PropertyChangeListener listener)
过时的。
在
PropertyChangeListener 依赖创造未来的java平台模块化的一个重大障碍。这种方法将在未来的版本中删除。需要监视的封隔器进步应用可以投票的PROGRESS 属性的值代替。
|
default void |
Pack200.Unpacker.addPropertyChangeListener(PropertyChangeListener listener)
过时的。
在
PropertyChangeListener 依赖创造未来的java平台模块化的一个重大障碍。这种方法将在未来的版本中删除。需要监测的新型应用可以投票的PROGRESS 属性的值代替。
|
default void |
Pack200.Packer.removePropertyChangeListener(PropertyChangeListener listener)
过时的。
在
PropertyChangeListener 依赖创造未来的java平台模块化的一个重大障碍。这种方法将在未来的版本中删除。
|
default void |
Pack200.Unpacker.removePropertyChangeListener(PropertyChangeListener listener)
过时的。
在
PropertyChangeListener 依赖创造未来的java平台模块化的一个重大障碍。这种方法将在未来的版本中删除。
|
Modifier and Type | Field and Description |
---|---|
static Logger |
Logger.global
过时的。
本字段初始化是容易出现死锁。现场必须由Logger类的初始化可能引起死锁LogManager类初始化初始化。在这种情况下,两类初始化等待对方完成。为了得到全局日志对象的首选方式是通过电话
Logger.getGlobal() 。与老版本的JDK,Logger.getGlobal() 不可使用电话Logger.getLogger(Logger.GLOBAL_LOGGER_NAME) 或Logger.getLogger("global") 兼容性。
|
Modifier and Type | Method and Description |
---|---|
void |
LogManager.addPropertyChangeListener(PropertyChangeListener l)
过时的。
在
PropertyChangeListener 依赖创造未来的java平台模块化的一个重大障碍。这种方法将在未来的版本中删除。全球LogManager 可以检测变化的日志配置的readConfiguration 凌驾性的方法。
|
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 |
LogManager.removePropertyChangeListener(PropertyChangeListener l)
过时的。
在
PropertyChangeListener 依赖创造未来的java平台模块化的一个重大障碍。这种方法将在未来的版本中删除。全球LogManager 可以检测变化的日志配置的readConfiguration 凌驾性的方法。
|
Modifier and Type | Class and Description |
---|---|
class |
AccessibleResourceBundle
过时的。
这个类是过时的版本1.3的java平台。
|
Modifier and Type | Field and Description |
---|---|
static 类[] |
ImageReaderSpi.STANDARD_INPUT_TYPE
过时的。
而不是使用这个领域,直接创建等效阵列
{ ImageInputStream.class } 。
|
static 类[] |
ImageWriterSpi.STANDARD_OUTPUT_TYPE
过时的。
而不是使用这个领域,直接创建等效阵列
{ ImageOutputStream.class } 。
|
Modifier and Type | Class and Description |
---|---|
interface |
InitParam
过时的。
|
interface |
SOAPMessageHandler
过时的。
|
interface |
SOAPMessageHandlers
过时的。
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultLoaderRepository
过时的。
|
Modifier and Type | Method and Description |
---|---|
ObjectInputStream |
MBeanServer.deserialize(ObjectName name, byte[] data)
过时的。
使用
getClassLoaderFor 获得适当的反序列化的类装载器。
|
ObjectInputStream |
MBeanServer.deserialize(String className, byte[] data)
过时的。
使用
MBeanServer.getClassLoaderRepository() 获得类加载器存储库,用它来反序列化。
|
ObjectInputStream |
MBeanServer.deserialize(String className, ObjectName loaderName, byte[] data)
过时的。
使用
getClassLoader 获得反序列化的类装载器。
|
void |
StringValueExp.setMBeanServer(MBeanServer s)
过时的。
|
void |
AttributeValueExp.setMBeanServer(MBeanServer s)
过时的。
这种方法没有效果。MBean服务器用来获取属性值是
QueryEval.getMBeanServer() 。
|
void |
ValueExp.setMBeanServer(MBeanServer s)
过时的。
这种方法不需要因为
ValueExp 可以访问MBean服务器在它被使用QueryEval.getMBeanServer() 评价。
|
Constructor and Description |
---|
AttributeValueExp()
过时的。
用此构造函数创建的实例不能在查询中使用。
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultLoaderRepository
过时的。
|
Modifier and Type | Field and Description |
---|---|
protected int |
Monitor.alreadyNotified
过时的。
相当于
Monitor.alreadyNotifieds [ 0 ]。
|
protected String |
Monitor.dbgTag
过时的。
没有更换。
|
Modifier and Type | Field and Description |
---|---|
static String[] |
OpenType.ALLOWED_CLASSNAMES
过时的。
|
Modifier and Type | Class and Description |
---|---|
class |
Policy
过时的。
作为JDK版本1.4被java.security.policy。java.security.policy有方法:
公共getpermissions PermissionCollection(java.security.protectiondomain PD)和保护范围有一个构造函数: 公众的保护范围(CodeSource CS,PermissionCollection权限,类装载器装载机,校长[校长]这两个API提供了用户查询的权限项目的主要政策手段。 |
Modifier and Type | Field and Description |
---|---|
static boolean |
CachedRowSet.COMMIT_ON_ACCEPT_CHANGES
过时的。
因为这个字段是最终的(它是接口的一部分),它的值不能被更改。
|
Modifier and Type | Method and Description |
---|---|
void |
BaseRowSet.setUnicodeStream(int parameterIndex, InputStream x, int length)
过时的。
getcharacterstream应使用它的地方
|
Modifier and Type | Field and Description |
---|---|
protected FocusListener |
JComponent.AccessibleJComponent.accessibleFocusHandler
过时的。
|
protected boolean |
JViewport.backingStore
过时的。
作为java 2平台V1.3
|
protected static Component |
ImageIcon.component
过时的。
自1.8
|
protected javax.swing.JRootPane.DefaultAction |
JRootPane.defaultPressAction
过时的。
作为java 2平台V1.3。
|
protected javax.swing.JRootPane.DefaultAction |
JRootPane.defaultReleaseAction
过时的。
作为java 2平台V1.3。
|
protected static MediaTracker |
ImageIcon.tracker
过时的。
自1.8
|
Modifier and Type | Method and Description |
---|---|
static JScrollPane |
JTable.createScrollPaneForTable(JTable aTable)
过时的。
作为摇摆版本1.0.2,取而代之的
new JScrollPane(aTable) 。
|
void |
JComponent.disable()
过时的。
作为JDK 1.1版本,取而代之的
java.awt.Component.setEnabled(boolean) 。
|
static void |
FocusManager.disableSwingFocusManager()
过时的。
截至1.4日,由
KeyboardFocusManager.setDefaultFocusTraversalPolicy(FocusTraversalPolicy)
|
void |
JComponent.enable()
过时的。
作为JDK 1.1版本,取而代之的
java.awt.Component.setEnabled(boolean) 。
|
static Component |
SwingUtilities.findFocusOwner(Component c)
过时的。
截至1.4日,由
KeyboardFocusManager.getFocusOwner() 。
|
Component |
JMenuBar.getComponentAtIndex(int i)
过时的。
取而代之的
getComponent(int i)
|
Component |
JPopupMenu.getComponentAtIndex(int i)
过时的。
|
static KeyStroke |
KeyStroke.getKeyStroke(char keyChar, boolean onKeyRelease)
过时的。
使用getkeystroke(char)
|
String |
AbstractButton.getLabel()
过时的。
-取代
getText
|
JMenuBar |
JRootPane.getMenuBar()
过时的。
作为摇摆版本1.0.3取代
getJMenuBar() 。
|
JMenuBar |
JInternalFrame.getMenuBar()
过时的。
作为摇摆版本1.0.3,取而代之的
getJMenuBar() 。
|
Component |
JComponent.getNextFocusableComponent()
过时的。
截至1.4日,由
FocusTraversalPolicy 。
|
Object[] |
JList.getSelectedValues()
过时的。
作为JDK 1.7,取而代之的
JList.getSelectedValuesList()
|
String |
JPasswordField.getText()
过时的。
作为java 2平台V1.2,取而代之的
getPassword 。
|
String |
JPasswordField.getText(int offs, int len)
过时的。
作为java 2平台V1.2,取而代之的
getPassword 。
|
Rectangle |
ScrollPaneLayout.getViewportBorderBounds(JScrollPane scrollpane)
过时的。
作为JDK版本swing1.1取代
JScrollPane.getViewportBorderBounds() 。
|
void |
JComponent.hide()
过时的。
|
boolean |
JViewport.isBackingStoreEnabled()
过时的。
作为java 2平台V1.3,取而代之的
getScrollMode() 。
|
static boolean |
FocusManager.isFocusManagerEnabled()
过时的。
截至1.4日,由
KeyboardFocusManager.getDefaultFocusTraversalPolicy()
|
boolean |
JComponent.isManagingFocus()
过时的。
为1.4,通过
Component.setFocusTraversalKeys(int, Set) 和Container.setFocusCycleRoot(boolean) 取代。
|
boolean |
JComponent.requestDefaultFocus()
过时的。
截至1.4日,由
FocusTraversalPolicy.getDefaultComponent(Container).requestFocus()
|
void |
JComponent.reshape(int x, int y, int w, int h)
过时的。
作为JDK 5,取而代之的
Component.setBounds(int, int, int, int) 。移动和调整该组件。 |
void |
JViewport.setBackingStoreEnabled(boolean enabled)
过时的。
作为java 2平台V1.3,取而代之的
setScrollMode() 。
|
void |
AbstractButton.setLabel(String label)
过时的。
-取代
setText(text)
|
void |
JRootPane.setMenuBar(JMenuBar menu)
过时的。
作为摇摆版本1.0.3取代
setJMenuBar(JMenuBar menu) 。
|
void |
JInternalFrame.setMenuBar(JMenuBar m)
过时的。
作为摇摆版本1.0.3取代
setJMenuBar(JMenuBar m) 。
|
void |
JComponent.setNextFocusableComponent(Component aComponent)
过时的。
截至1.4日,由
FocusTraversalPolicy
|
void |
JTable.sizeColumnsToFit(boolean lastColumnOnly)
过时的。
作为摇摆版本1.0.3,取而代之的
doLayout() 。
|
Modifier and Type | Field and Description |
---|---|
protected KeyStroke |
BasicDesktopPaneUI.closeKey
过时的。
截至1.3。
|
protected KeyStroke |
BasicSplitPaneUI.dividerResizeToggleKey
过时的。
作为java 2平台V1.3。
|
protected KeyStroke |
BasicSplitPaneUI.downKey
过时的。
作为java 2平台V1.3。
|
protected KeyStroke |
BasicToolBarUI.downKey
过时的。
作为java 2平台V1.3。
|
protected KeyStroke |
BasicTabbedPaneUI.downKey
过时的。
作为java 2平台V1.3。
|
protected KeyStroke |
BasicSplitPaneUI.endKey
过时的。
作为java 2平台V1.3。
|
protected KeyStroke |
BasicSplitPaneUI.homeKey
过时的。
作为java 2平台V1.3。
|
protected ActionListener |
BasicSplitPaneUI.keyboardDownRightListener
过时的。
作为java 2平台V1.3。
|
protected ActionListener |
BasicSplitPaneUI.keyboardEndListener
过时的。
作为java 2平台V1.3。
|
protected ActionListener |
BasicSplitPaneUI.keyboardHomeListener
过时的。
作为java 2平台V1.3。
|
protected ActionListener |
BasicSplitPaneUI.keyboardResizeToggleListener
过时的。
作为java 2平台V1.3。
|
protected ActionListener |
BasicSplitPaneUI.keyboardUpLeftListener
过时的。
作为java 2平台V1.3。
|
protected KeyStroke |
BasicSplitPaneUI.leftKey
过时的。
作为java 2平台V1.3。
|
protected KeyStroke |
BasicToolBarUI.leftKey
过时的。
作为java 2平台V1.3。
|
protected KeyStroke |
BasicTabbedPaneUI.leftKey
过时的。
作为java 2平台V1.3。
|
protected KeyStroke |
BasicDesktopPaneUI.maximizeKey
过时的。
截至1.3。
|
protected KeyStroke |
BasicDesktopPaneUI.minimizeKey
过时的。
截至1.3。
|
protected KeyStroke |
BasicDesktopPaneUI.navigateKey
过时的。
截至1.3。
|
protected KeyStroke |
BasicDesktopPaneUI.navigateKey2
过时的。
截至1.3。
|
protected KeyStroke |
BasicInternalFrameUI.openMenuKey
过时的。
作为java 2平台V1.3。
|
protected KeyStroke |
BasicSplitPaneUI.rightKey
过时的。
作为java 2平台V1.3。
|
protected KeyStroke |
BasicToolBarUI.rightKey
过时的。
作为java 2平台V1.3。
|
protected KeyStroke |
BasicTabbedPaneUI.rightKey
过时的。
作为java 2平台V1.3。
|
protected KeyStroke |
BasicSplitPaneUI.upKey
过时的。
作为java 2平台V1.3。
|
protected KeyStroke |
BasicToolBarUI.upKey
过时的。
作为java 2平台V1.3。
|
protected KeyStroke |
BasicTabbedPaneUI.upKey
过时的。
作为java 2平台V1.3。
|
Modifier and Type | Method and Description |
---|---|
protected ActionListener |
BasicSplitPaneUI.createKeyboardDownRightListener()
过时的。
作为java 2平台V1.3。
|
protected ActionListener |
BasicSplitPaneUI.createKeyboardEndListener()
过时的。
作为java 2平台V1.3。
|
protected ActionListener |
BasicSplitPaneUI.createKeyboardHomeListener()
过时的。
作为java 2平台V1.3。
|
protected ActionListener |
BasicSplitPaneUI.createKeyboardResizeToggleListener()
过时的。
作为java 2平台V1.3。
|
protected ActionListener |
BasicSplitPaneUI.createKeyboardUpLeftListener()
过时的。
作为java 2平台V1.3。
|
protected int |
BasicSplitPaneUI.getDividerBorderSize()
过时的。
作为java 2平台V1.3,相反设置边框的分频器。
|
Modifier and Type | Class and Description |
---|---|
class |
MetalComboBoxUI.MetalComboPopup
过时的。
作为java 2平台V1.4。
|
Modifier and Type | Method and Description |
---|---|
protected void |
MetalComboBoxUI.editablePropertyChanged(PropertyChangeEvent e)
过时的。
作为java 2平台V1.4。
|
protected void |
MetalComboBoxUI.removeListeners()
过时的。
作为java 2平台V1.4。
|
void |
MetalScrollPaneUI.uninstallListeners(JScrollPane scrollPane)
|
Modifier and Type | Field and Description |
---|---|
protected int |
TableColumn.resizedPostingDisableCount
过时的。
作为java 2平台V1.3
|
Modifier and Type | Method and Description |
---|---|
void |
TableColumn.disableResizedPosting()
过时的。
作为java 2平台V1.3
|
void |
TableColumn.enableResizedPosting()
过时的。
作为java 2平台V1.3
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultTextUI
过时的。
|
class |
TableView.TableCell
过时的。
一个表单元格现在可以是任何视图实现。
|
Modifier and Type | Method and Description |
---|---|
protected TableView.TableCell |
TableView.createTableCell(Element elem)
过时的。
表格单元格可以任意视图的实现,应该由视图工厂而不是表。
|
protected FontMetrics |
LabelView.getFontMetrics()
过时的。
根据不用于字形渲染在JDK运行时。
|
Shape |
View.modelToView(int pos, Shape a)
过时的。
|
int |
View.viewToModel(float x, float y, Shape a)
过时的。
|
Modifier and Type | Field and Description |
---|---|
static String |
FormView.RESET
过时的。
作为1.3的价值来自于formview.resetbuttontext”属性”
|
static String |
FormView.SUBMIT
过时的。
为1.3,现在的价值来自formview.submitbuttontext”属性
|
Modifier and Type | Method and Description |
---|---|
protected void |
HTMLEditorKit.InsertHTMLTextAction.insertAtBoundry(JEditorPane editor, HTMLDocument doc, int offset, Element insertElement, String html, HTML.Tag parentTag, HTML.Tag addTag)
过时的。
作为java 2平台V1.3,使用insertatboundary
|
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultTreeSelectionModel.notifyPathChange(Vector<?> changedPaths, TreePath oldLeadSelection)
过时的。
作为JDK版本1.7
|
Modifier and Type | Class and Description |
---|---|
class |
DynamicImplementation
过时的。
org.omg.corba.dynamicimplementation
|
interface |
DynAny
过时的。
使用新的DynAny相反
|
interface |
DynArray
过时的。
使用新的DynArray相反
|
interface |
DynEnum
过时的。
使用新的DynEnum相反
|
interface |
DynFixed
过时的。
使用新的DynFixed相反
|
interface |
DynSequence
过时的。
使用新的DynSequence相反
|
interface |
DynStruct
过时的。
使用新的DynStruct相反
|
interface |
DynUnion
过时的。
使用新的DynUnion相反
|
interface |
DynValue
过时的。
使用新的DynValue相反
|
class |
Principal
过时的。
通过CORBA 2.2否决。
|
class |
PrincipalHolder
过时的。
通过CORBA 2.2否决。
|
Modifier and Type | Method and Description |
---|---|
DynAny |
ORB.create_basic_dyn_any(TypeCode type)
过时的。
使用新的API,而不是DynAnyFactory
|
DynAny |
ORB.create_dyn_any(Any value)
过时的。
使用新的API,而不是DynAnyFactory
|
DynArray |
ORB.create_dyn_array(TypeCode type)
过时的。
使用新的API,而不是DynAnyFactory
|
DynEnum |
ORB.create_dyn_enum(TypeCode type)
过时的。
使用新的API,而不是DynAnyFactory
|
DynSequence |
ORB.create_dyn_sequence(TypeCode type)
过时的。
使用新的API,而不是DynAnyFactory
|
DynStruct |
ORB.create_dyn_struct(TypeCode type)
过时的。
使用新的API,而不是DynAnyFactory
|
DynUnion |
ORB.create_dyn_union(TypeCode type)
过时的。
使用新的API,而不是DynAnyFactory
|
abstract TypeCode |
ORB.create_recursive_sequence_tc(int bound, int offset)
过时的。
结合使用create_recursive_tc和create_sequence_tc相反
|
void |
ServerRequest.except(Any any)
过时的。
使用set_exception()
|
Principal |
Any.extract_Principal()
过时的。
通过CORBA 2.2否决。
|
Current |
ORB.get_current()
过时的。
使用
resolve_initial_references 。
|
void |
Any.insert_Principal(Principal p)
过时的。
通过CORBA 2.2否决。
|
void |
DynamicImplementation.invoke(ServerRequest request)
过时的。
通过使用便携式对象适配器
|
byte[] |
Principal.name()
过时的。
通过CORBA 2.2否决。
|
void |
Principal.name(byte[] value)
过时的。
通过CORBA 2.2否决。
|
String |
ServerRequest.op_name()
过时的。
使用operation()
|
void |
ServerRequest.params(NVList params)
过时的。
使用方法
arguments
|
void |
ServerRequest.result(Any any)
过时的。
使用方法
set_result
|
Constructor and Description |
---|
TCKind(int _value)
过时的。
不要使用此构造函数为这个方法应该根据OMG规范私人。使用
TCKind.from_int(int) 相反。
|
Modifier and Type | Method and Description |
---|---|
Principal |
InputStream.read_Principal()
过时的。
通过CORBA 2.2否决。
|
void |
OutputStream.write_Principal(Principal value)
过时的。
通过CORBA 2.2否决。
|
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, 2014, Oracle and/or its affiliates. All rights reserved.