Example usage for java.io PrintStream subclass-usage

List of usage examples for java.io PrintStream subclass-usage

Introduction

In this page you can find the example usage for java.io PrintStream subclass-usage.

Usage

From source file net.lightbody.bmp.proxy.jetty.log.LogStream.java

/**
 * Divert a PrintStream to commons logging.
 * The stderr and stdout streams can be diverted to logs named "stderr" and "stdout" using this
 * class.
 * 
 */

From source file com.enioka.jqm.tools.MulticastPrintStream.java

/**
 * The goal of this Stream is to provide a replacement for stdout/err in which every running job instance has its own personal flow. This is
 * basically flow multiplexing, with the multiplexing key being the caller Thread object. Used by default, can be disabled with a
 * {@link GlobalParameter}. <br>
 * Should a payload create a new thread, its stdout would go to the global log as the multiplexing key is the Thread. But is not a big deal
 * as creating threads inside an app server is not a good idea anyway.

From source file com.enioka.jqm.tools.MultiplexPrintStream.java

/**
 * The goal of this Stream is to provide a replacement for stdout/err in which every running job instance has its own personal flow. This is
 * basically flow multiplexing, with the multiplexing key being the caller Thread object. Used by default, can be disabled with a
 * {@link GlobalParameter}. <br>
 * Should a payload create a new thread, its stdout would go to the global log as the multiplexing key is the Thread. But is not a big deal
 * as creating threads inside an app server is not a good idea anyway.

From source file TeePrintStream.java

/**
 * TeePrintStream tees all PrintStream operations into a file, rather like the
 * UNIX tee(1) command. It is a PrintStream subclass. The expected usage would
 * be something like the following:
 * 
 * <PRE>

From source file at.alladin.rmbt.qos.testserver.util.TestServerConsole.java

public class TestServerConsole extends PrintStream {

    public final static class ErrorReport {
        Date date;
        Date lastDate;
        int counter = 0;

From source file Alias2.java

class TestStream extends PrintStream {
    protected int numOfLines;

    private PrintStream console = System.out, err = System.err, fout;

    // To store lines sent to System.out or err

From source file com.netscape.admin.certsrv.Console.java

/**
 * A class that makes a PrintStream act like a Unix tee command
 */
class TeeStream extends PrintStream {
    static OutputStream logfile;