Main Page | Class Hierarchy | Class List | Directories | Class Members | Related Pages

java.lang.String.ConsolePrintStream Class Reference

List of all members.

Detailed Description

An PrintStream used for System.out which performs the correct character conversion for the console, since the console may use a different conversion than the default file.encoding.


Public Member Functions

 ConsolePrintStream (java.io.OutputStream out)
 Create a ConsolePrintStream on the specified OutputStream, usually System.out.
void print (String str)
 Override the print(String) method from PrintStream to perform the character conversion using the console character converter.

Static Package Functions

 [static initializer]


Constructor & Destructor Documentation

java.lang.String.ConsolePrintStream.ConsolePrintStream java.io.OutputStream  out  ) 
 

Create a ConsolePrintStream on the specified OutputStream, usually System.out.

Parameters:
out the console OutputStream


Member Function Documentation

java.lang.String.ConsolePrintStream.[static initializer]  )  [static, package]
 

The encoding used for console conversions.

void java.lang.String.ConsolePrintStream.print String  str  ) 
 

Override the print(String) method from PrintStream to perform the character conversion using the console character converter.

Parameters:
str the String to convert


The documentation for this class was generated from the following file:
(c) Copyright 2005 The Apache Software Foundation or its licensors, as applicable.