📄 deprecated-list.html
字号:
<BR> <I></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/security/SignatureSpi.html#engineSetParameter(java.lang.String, java.lang.Object)">java.security.SignatureSpi.engineSetParameter(String, Object)</A><BR> <I>Replaced by <A HREF="java/security/SignatureSpi.html#engineSetParameter(java.security.spec.AlgorithmParameterSpec)"><CODE>engineSetParameter</CODE></A>.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/awt/datatransfer/DataFlavor.html#equals(java.lang.String)">java.awt.datatransfer.DataFlavor.equals(String)</A><BR> <I>As inconsistent with <code>hashCode()</code> contract, use <code>isMimeTypeEqual(String)</code> instead.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="org/omg/CORBA/ServerRequest.html#except(org.omg.CORBA.Any)">org.omg.CORBA.ServerRequest.except(Any)</A><BR> <I>use set_exception()</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/rmi/server/RemoteCall.html#executeCall()">java.rmi.server.RemoteCall.executeCall()</A><BR> <I>no replacement</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="org/omg/CORBA/Any.html#extract_Principal()">org.omg.CORBA.Any.extract_Principal()</A><BR> <I>Deprecated by CORBA 2.2.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="org/omg/CORBA/ORB.html#get_current()">org.omg.CORBA.ORB.get_current()</A><BR> <I>use resolve_initial_references.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/security/Security.html#getAlgorithmProperty(java.lang.String, java.lang.String)">java.security.Security.getAlgorithmProperty(String, String)</A><BR> <I>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 <code>AlgorithmParameters</code> and <code>KeyFactory</code> engine classes (introduced in the Java 2 platform) instead.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/sql/CallableStatement.html#getBigDecimal(int, int)">java.sql.CallableStatement.getBigDecimal(int, int)</A><BR> <I></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/sql/ResultSet.html#getBigDecimal(int, int)">java.sql.ResultSet.getBigDecimal(int, int)</A><BR> <I></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/sql/ResultSet.html#getBigDecimal(java.lang.String, int)">java.sql.ResultSet.getBigDecimal(String, int)</A><BR> <I></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/awt/Polygon.html#getBoundingBox()">java.awt.Polygon.getBoundingBox()</A><BR> <I>As of JDK version 1.1, replaced by <code>getBounds()</code>.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/lang/String.html#getBytes(int, int, byte[], int)">java.lang.String.getBytes(int, int, byte[], int)</A><BR> <I>This method does not properly convert characters into bytes. As of JDK 1.1, the preferred way to do this is via the <code>getBytes(String enc)</code> method, which takes a character-encoding name, or the <code>getBytes()</code> method, which uses the platform's default encoding.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/awt/Graphics.html#getClipRect()">java.awt.Graphics.getClipRect()</A><BR> <I>As of JDK version 1.1, replaced by <code>getClipBounds()</code>.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/swing/JPopupMenu.html#getComponentAtIndex(int)">javax.swing.JPopupMenu.getComponentAtIndex(int)</A><BR> <I>replaced by <code>getComponent(int i)</code></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/swing/JMenuBar.html#getComponentAtIndex(int)">javax.swing.JMenuBar.getComponentAtIndex(int)</A><BR> <I>replaced by <code>getComponent(int i)</code></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/awt/CheckboxGroup.html#getCurrent()">java.awt.CheckboxGroup.getCurrent()</A><BR> <I>As of JDK version 1.1, replaced by <code>getSelectedCheckbox()</code>.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/awt/Frame.html#getCursorType()">java.awt.Frame.getCursorType()</A><BR> <I>As of JDK version 1.1, replaced by <code>Component.getCursor()</code>.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/sql/Time.html#getDate()">java.sql.Time.getDate()</A><BR> <I></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/util/Date.html#getDate()">java.util.Date.getDate()</A><BR> <I>As of JDK version 1.1, replaced by <code>Calendar.get(Calendar.DAY_OF_MONTH)</code>.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/sql/Time.html#getDay()">java.sql.Time.getDay()</A><BR> <I></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/util/Date.html#getDay()">java.util.Date.getDay()</A><BR> <I>As of JDK version 1.1, replaced by <code>Calendar.get(Calendar.DAY_OF_WEEK)</code>.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/net/URLConnection.html#getDefaultRequestProperty(java.lang.String)">java.net.URLConnection.getDefaultRequestProperty(String)</A><BR> <I>The instance specific getRequestProperty method should be used after an appropriate instance of URLConnection is obtained.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/rmi/server/LogStream.html#getDefaultStream()">java.rmi.server.LogStream.getDefaultStream()</A><BR> <I>no replacement</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/swing/plaf/basic/BasicSplitPaneUI.html#getDividerBorderSize()">javax.swing.plaf.basic.BasicSplitPaneUI.getDividerBorderSize()</A><BR> <I>As of Java 2 platform v1.3, instead set the border on the divider.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/lang/System.html#getenv(java.lang.String)">java.lang.System.getenv(String)</A><BR> <I>The preferred way to extract system-dependent information is the system properties of the <code>java.lang.System.getProperty</code> methods and the corresponding <code>get</code><em>TypeName</em> methods of the <code>Boolean</code>, <code>Integer</code>, and <code>Long</code> primitive types. For example: <blockquote><pre> String classPath = System.getProperty("java.class.path","."); <br> if (Boolean.getBoolean("myapp.exper.mode")) enableExpertCommands(); </pre></blockquote></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/awt/Toolkit.html#getFontList()">java.awt.Toolkit.getFontList()</A><BR> <I>see <A HREF="java/awt/GraphicsEnvironment.html#getAvailableFontFamilyNames()"><CODE>GraphicsEnvironment.getAvailableFontFamilyNames()</CODE></A></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/swing/text/LabelView.html#getFontMetrics()">javax.swing.text.LabelView.getFontMetrics()</A><BR> <I>FontMetrics are not used for glyph rendering when running in the Java2 SDK.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/awt/Toolkit.html#getFontMetrics(java.awt.Font)">java.awt.Toolkit.getFontMetrics(Font)</A><BR> <I>This returns integer metrics for the default screen.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/awt/Toolkit.html#getFontPeer(java.lang.String, int)">java.awt.Toolkit.getFontPeer(String, int)</A><BR> <I>see java.awt.GraphicsEnvironment#getAllFonts</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/sql/Date.html#getHours()">java.sql.Date.getHours()</A><BR> <I></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/util/Date.html#getHours()">java.util.Date.getHours()</A><BR> <I>As of JDK version 1.1, replaced by <code>Calendar.get(Calendar.HOUR_OF_DAY)</code>.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/lang/SecurityManager.html#getInCheck()">java.lang.SecurityManager.getInCheck()</A><BR> <I>This type of security checking is not recommended. It is recommended that the <code>checkPermission</code> call be used instead.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/rmi/server/RemoteCall.html#getInputStream()">java.rmi.server.RemoteCall.getInputStream()</A><BR> <I>no replacement</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/swing/KeyStroke.html#getKeyStroke(char, boolean)">javax.swing.KeyStroke.getKeyStroke(char, boolean)</A><BR> <I>use getKeyStroke(char)</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/swing/AbstractButton.html#getLabel()">javax.swing.AbstractButton.getLabel()</A><BR> <I>- Replaced by <code>getText</code></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/awt/Scrollbar.html#getLineIncrement()">java.awt.Scrollbar.getLineIncrement()</A><BR> <I>As of JDK version 1.1, replaced by <code>getUnitIncrement()</code>.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/lang/Runtime.html#getLocalizedInputStream(java.io.InputStream)">java.lang.Runtime.getLocalizedInputStream(InputStream)</A><BR> <I>As of JDK 1.1, the preferred way translate a byte stream in the local encoding into a character stream in Unicode is via the <code>InputStreamReader</code> and <code>BufferedReader</code> classes.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/lang/Runtime.html#getLocalizedOutputStream(java.io.OutputStream)">java.lang.Runtime.getLocalizedOutputStream(OutputStream)</A><BR> <I>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 <code>OutputStreamWriter</code>, <code>BufferedWriter</code>, and <code>PrintWriter</code> classes.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/sql/DriverManager.html#getLogStream()">java.sql.DriverManager.getLogStream()</A><BR> <I></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="java/awt/FontMetrics.html#getMaxDecent()">java.awt.FontMetrics.getMaxDecent()</A><BR> <I>As of JDK version 1.1.1, replaced by <code>getMaxDescent()</code>.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/swing/JInternalFrame.html#getMenuBar()">javax.swing.JInternalFrame.getMenuBar()</A><BR> <I>As of Swing version 1.0.3, replaced by <code>getJMenuBar()</code>.</I> </TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -