Runtime.getLocalizedOutputStream
Class Overview | Class Members |
This Package |
All Packages
public OutputStream getLocalizedOutputStream( OutputStream out )
Returns
a localized output stream.
Description
Note: getLocalizedOutputStream() is deprecated.
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 OutputStreamWriter, BufferedWriter, and
PrintWriter classes.
Creates a localized version of an output stream. This method
takes an OutputStream and returns an
OutputStream equivalent to the argument in all respects
except that it is localized: as Unicode characters are written to
the stream, they are automatically converted to the local
character set.
If the argument is already a localized stream, it may be returned
as the result.
See Also
OutputStream, BufferedWriter, OutputStreamWriter, PrintWriter