Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| J2ME Foundation
PREV NEXT | FRAMES NO FRAMES

## Deprecated API

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 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 Methods
java.io.ObjectInputStream.readLine() This method does not properly convert bytes to characters. see DataInputStream for the details and alternatives.
> 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));

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| J2ME Foundation
PREV NEXT | FRAMES NO FRAMES

Java is a trademark or registred trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo, Alto, California, 94303, U.S.A All Rights Reserved. < /font >