PrintStream
.
@author Johan Karlsson (johan.karlsson@jayway.se)
@since 0.1
System.out
or System.err
using a layout specified by the user. The default target is System.out
.
@author Ceki Gülcü
@since 1.1
System.out
or System.err
using a layout specified by the user. The default target is System.out
.
@doubt accessing System.out or .err as a byte stream instead of a writerbypasses the JVM's knowledge of the proper encoding. (RG) Encoding is handled within the Layout. Typically, a Layout will generate a String and then call getBytes which may use a configured encoding or the system default. OTOH, a Writer cannot print byte streams.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|