Example usage for org.apache.commons.io.output ProxyOutputStream subclass-usage

List of usage examples for org.apache.commons.io.output ProxyOutputStream subclass-usage

Introduction

In this page you can find the example usage for org.apache.commons.io.output ProxyOutputStream subclass-usage.

Usage

From source file com.google.code.jahath.common.io.CloseListenerOutputStream.java

public abstract class CloseListenerOutputStream extends ProxyOutputStream {
    public CloseListenerOutputStream(OutputStream proxy) {
        super(proxy);
    }

    @Override

From source file ch.cyberduck.core.io.StatusOutputStream.java

public abstract class StatusOutputStream<Reply> extends ProxyOutputStream {
    public StatusOutputStream(final OutputStream proxy) {
        super(proxy);
    }

    /**

From source file com.streamsets.pipeline.stage.destination.hdfs.writer.HflushableWrapperOutputStream.java

/**
 * A Wrapper Output stream for {@link FSDataOutputStream} which will call {@link FSDataOutputStream#hflush()} in
 * addition to {@link FSDataOutputStream#flush()} when {@link #flush()} is called
 *
 * Rest of the method calls are delegated to {@link FSDataOutputStream} by extending {@link org.apache.commons.io.output.ProxyOutputStream}
 */

From source file io.pcp.parfait.io.ByteCountingOutputStream.java

/**
 * Used to calculate the rate at which data is sent (downloaded) . When download outputstream
 * wrapped in a ByteCountingOutputStream it can update the counters as byte or byte[] chunks are sent ,
 * allowing us to truly see the actual rate of transfers happening.
 */

From source file com.google.code.jahath.common.http.HttpOutputStream.java

public class HttpOutputStream extends ProxyOutputStream {
    private static final Logger log = Logger.getLogger(HttpOutputStream.class.getName());

    private static final byte[] CRLF = new byte[] { '\r', '\n' };

    public HttpOutputStream(OutputStream proxy) {

From source file ch.cyberduck.core.io.ThrottledOutputStream.java

public class ThrottledOutputStream extends ProxyOutputStream {

    /**
     * The delegate.
     */
    private final OutputStream delegate;

From source file ch.cyberduck.core.io.BufferOutputStream.java

public class BufferOutputStream extends ProxyOutputStream {
    private static final Logger log = Logger.getLogger(BufferOutputStream.class.getName());

    private final Buffer buffer;

    private Long offset;

From source file be.fedict.eid.applet.service.signer.CloseActionOutputStream.java

/**
 * An output stream proxy implementation that allows us to run something when
 * the stream has been closed. Useful to perform resource cleanup tasks.
 * 
 * @author Frank Cornelis
 * 

From source file be.fedict.eid.dss.spi.utils.CloseActionOutputStream.java

/**
 * An output stream proxy implementation that allows us to run something when
 * the stream has been closed. Useful to perform resource cleanup tasks.
 * 
 * @author Frank Cornelis
 * 

From source file ch.cyberduck.core.http.ResponseOutputStream.java

public abstract class ResponseOutputStream<T> extends ProxyOutputStream {
    private static final Logger log = Logger.getLogger(AbstractHttpWriteFeature.class);

    public ResponseOutputStream(OutputStream d) {
        super(d);
    }