|
|
Deprecated Methods
The first column in the following table lists the methods in theRuntimeclass that are deprecated in the JDK 1.1. These classes were deprecated because the JDK 1.1 introduced new internationalization features including I/O classes that translate a byte stream into a character stream based on a character-encoding. The second column lists the classes to use in place of the deprecated methods:
Deprecated Methods Alternatives getLocalizedInputStream(InputStream)InputStreamReaderor
BufferedReaderclasses
getLocalizedOutputStream(OutputStream)OutputStreamReaderor
BufferedWriteror
PrintWriterclasses
New Methods
The following method was added to theRuntimeclass for the JDK 1.1:For information about this method, see the notes regarding a similar change to the System class in the JDK 1.1 API Changes to the System ClassrunFinalizersOnExit(boolean)
|
|