Deprecated API


Contents
Deprecated Interfaces
java.security.Certificate
          A new certificate handling package is created in the Java 2 platform. This Certificate interface is entirely deprecated and is here to allow for a smooth transition to the new package. 
 

Deprecated Classes
java.security.Identity
          This class is no longer used. Its functionality has been replaced by java.security.KeyStore, the java.security.cert package, and java.security.Principal. 
java.security.IdentityScope
          This class is no longer used. Its functionality has been replaced by java.security.KeyStore, the java.security.cert package, and java.security.Principal. 
java.security.Signer
          This class is no longer used. Its functionality has been replaced by java.security.KeyStore, the java.security.cert package, and java.security.Principal. 
 

Deprecated Fields
org.havi.ui.event.HRcEvent.RC_FIRST
          The value of this field is useless, since it mixes event ids and key codes. It does not reflect any of the remote control key codes listed in this class. 
org.havi.ui.event.HRcEvent.RC_LAST
            
org.havi.ui.HVisible.TEXT_VALUE_CHANGE
          This constant shall not be used for the hinting mechanism. Looks shall treat it as HVisible.UNKNOWN_CHANGE. See also HVisible.CARET_POSITION_CHANGE and HVisible.TEXT_CONTENT_CHANGE. 
 

Deprecated Methods
java.awt.BorderLayout.addLayoutComponent(String, Component)
          replaced by addLayoutComponent(Component, Object). 
java.awt.CardLayout.addLayoutComponent(String, Component)
          replaced by addLayoutComponent(Component, Object). 
java.lang.SecurityManager.checkMulticast(InetAddress, byte)
          Use #checkPermission(java.security.Permission) instead 
java.net.URLDecoder.decode(String)
          The resulting string may vary depending on the platform's default encoding. Instead, use the decode(String,String) method to specify the encoding. 
java.net.URLEncoder.encode(String)
          The resulting string may vary depending on the platform's default encoding. Instead, use the encode(String,String) method to specify the encoding. 
java.awt.Toolkit.getFontList()
          see GraphicsEnvironment.getAvailableFontFamilyNames() 
java.awt.Toolkit.getFontMetrics(Font)
          Deprecated. This returns integer metrics for the default screen. 
org.ocap.storage.ExtendedFileAccessPermissions.getReadAccessOrganizationIds()
          This method will be removed in a future release. Use ExtendedFileAccessPermissions.getReadAccessOrganisationIds() instead. 
org.ocap.storage.ExtendedFileAccessPermissions.getWriteAccessOrganizationIds()
          This method will be removed in a future release. Use ExtendedFileAccessPermissions.getWriteAccessOrganisationIds() instead. 
java.awt.Component.isFocusTraversable()
          As of 1.4, replaced by isFocusable(). 
java.io.DataInputStream.readLine()
          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:
     DataInputStream d = new DataInputStream(in);
 
with:
     BufferedReader d
          = new BufferedReader(new InputStreamReader(in));
 
 
java.io.ObjectInputStream.readLine()
          This method does not properly convert bytes to characters. see DataInputStream for the details and alternatives. 
java.util.Properties.save(OutputStream, String)
          This method does not throw an IOException if an I/O error occurs while saving the property list. As of the Java 2 platform v1.2, the preferred way to save a properties list is via the store(OutputStream out, String header) method. 
java.net.MulticastSocket.send(DatagramPacket, byte)
          Use the following code or its equivalent instead: ...... int ttl = mcastSocket.getTimeToLive(); mcastSocket.setTimeToLive(newttl); mcastSocket.send(p); mcastSocket.setTimeToLive(ttl); ......