Example usage for org.apache.commons.io.input ProxyInputStream subclass-usage

List of usage examples for org.apache.commons.io.input ProxyInputStream subclass-usage

Introduction

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

Usage

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

public abstract class EndOfStreamListenerInputStream extends ProxyInputStream {
    public EndOfStreamListenerInputStream(InputStream proxy) {
        super(proxy);
    }

    @Override

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

public class ByteCountingInputStream extends ProxyInputStream {

    private final Counter byteCounter;

    public ByteCountingInputStream(InputStream streamToWrap, Counter counter) {
        super(streamToWrap);

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

public class ThrottledInputStream extends ProxyInputStream {

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

From source file com.rabbitmq.client.impl.TruncatedInputStream.java

/**
 * Utility stream: proxies another stream, making it appear to be no
 * longer than a preset limit.
 */
public class TruncatedInputStream extends ProxyInputStream {
    private final long limit;

From source file org.artifactory.io.NonClosingInputStream.java

/**
 * @author Yoav Landman
 */
public class NonClosingInputStream extends ProxyInputStream {

    public NonClosingInputStream(InputStream proxy) {

From source file net.darkmist.alib.io.CloseIgnoringInputStream.java

/**
 * An {@link InputStream} that ignores {@link InputStream#close()}.
 * This differes from
 * {@link org.apache.commons.io.input.CloseShieldInputStream} in that
 * it does not fake the closing of the underlying InputStream.
 */

From source file org.apache.axiom.testutils.io.CloseSensorInputStream.java

/**
 * {@link InputStream} wrapper that remembers if {@link InputStream#close()} has been called.
 */
public class CloseSensorInputStream extends ProxyInputStream {
    private boolean closed;

From source file org.pepstock.jem.node.resources.impl.ftp.FtpInputStream.java

/**
 * Input Stream created for FTP connection.
 * 
 * @author Andrea "Stock" Stocchero
 * @version 1.0
 * 

From source file org.apache.axiom.testutils.io.ExceptionInputStream.java

/**
 * {@link InputStream} wrapper that throw an exception when the end of the
 * parent stream is reached.
 */
public class ExceptionInputStream extends ProxyInputStream {
    public ExceptionInputStream(InputStream in) {

From source file org.opencastproject.ingest.impl.ProgressInputStream.java

/**
 * An {@link InputStream} that counts the number of bytes read.
 */
public class ProgressInputStream extends ProxyInputStream {

    private final PropertyChangeSupport propertyChangeSupport = new PropertyChangeSupport(this);