Example usage for java.io PrintWriter subclass-usage

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

Introduction

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

Usage

From source file Main.java

public class Main extends PrintWriter {

    public Main(OutputStream out) {
        super(System.out);
    }

From source file Main.java

public class Main extends PrintWriter {

    public Main(OutputStream out) {
        super(System.out);
    }

From source file org.codehaus.groovy.grails.web.pages.GSPWriter.java

/**
 * A PrintWriter used in the generation of GSP pages that allows printing to the target output
 * stream and maintains a record of the current line number during usage.
 *
 * @author Graeme Rocher
 */

From source file org.enhydra.jdbc.util.Logger.java

public class Logger extends PrintWriter {
    private Log log;

    public Logger(Log log) {
        super(new PrintWriter(System.err));
        this.log = log;

From source file org.toobsframework.servlet.filters.compression.FilterPrintWriter.java

public class FilterPrintWriter extends PrintWriter {

    //private static Log log = LogFactory.getLog(FilterPrintWriter.class);

    private boolean closed = false;

From source file org.apache.ojb.broker.util.logging.LoggerWrapperPrintWriter.java

/**
 * Extremely simple piggyback for OJB Logger interface to provide PrintWriter dito.
 *
 * @author <a href="mailto:mkalen@apache.org">Martin Kal&eacute;n</a>
 * @version CVS $Id: LoggerWrapperPrintWriter.java,v 1.1.2.3 2005/12/21 22:28:16 tomdz Exp $
 * @since OJB 1.0.4, 2005-apr-30

From source file CRLFPrintWriter.java

/**
 * A <tt>PrintWriter</tt> that ends lines with a carriage return-line feed (<tt>CRLF</tt>).
 * 
 * <h3>Concurrency</h3>
 * This class is <b>as</b> synchronized as <tt>PrintWriter</tt>.
 * 

From source file org.jasig.portal.portlet.rendering.LazyPrintWriter.java

/**
 * {@link PrintWriter} that delegates to another {@link PrintWriter} that is retrieved
 * the first time any method is called via the {@link Callable} provided in the constructor.
 */
public class LazyPrintWriter extends PrintWriter {
    private final Callable<PrintWriter> printWriterCreator;

From source file org.springframework.cloud.sleuth.instrument.web.TracePrintWriter.java

/**
 * @author Marcin Grzejszczak
 */
class TracePrintWriter extends PrintWriter {

    private static final Log log = LogFactory.getLog(MethodHandles.lookup().lookupClass());

From source file org.apereo.portal.portlet.rendering.LazyPrintWriter.java

/**
 * {@link PrintWriter} that delegates to another {@link PrintWriter} that is retrieved
 * the first time any method is called via the {@link Callable} provided in the constructor.
 */
public class LazyPrintWriter extends PrintWriter {
    private final Callable<PrintWriter> printWriterCreator;