This class implements the MsgLogger interface for streams. Streams can
be simple files, terminals, stdout, stderr, etc. The messages or simple
strings are formatted using the linewidth given to the constructor.
Messages are printed to the 'err' stream if they are of severity WARNING
or ERROR, otherwise they are printed to the 'out' stream. Simple strings
are always printed the 'out' stream.
Fields inherited from interface jj2000.j2k.util.MsgLogger
public void println(String str,
Prints the string 'str' to the 'out' stream, appending a newline. The
message is reformatted to the line width given to the constructors and
using 'flind' characters to indent the first line and 'ind' characters
to indent the second line. However, any newlines appearing in 'str' are
respected. The output device may or may not display the string until
flush() is called, depending on the autoflush state of the PrintWriter,
to be sure flush() should be called to write the string to the
device. This method just prints the string, the string does not make
part of a "message" in the sense that noe severity is associated to it.