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

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

Introduction

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

Usage

From source file org.geoserver.wps.executor.MaxSizeInputStream.java

/**
 * Input stream wrapper that ensures we won't read more than maxSize bytes for a given input
 * 
 * @author Andrea Aime - GeoSolutions
 */
class MaxSizeInputStream extends CountingInputStream {

From source file org.duracloud.chunk.stream.CountingDigestInputStream.java

/**
 * This class combines the two InputStream implementations:
 * - CountingInputStream &
 * - DigestInputStream
 *
 * @author Andrew Woods

From source file edu.stolaf.cs.wmrserver.testjob.CappedInputStream.java

public class CappedInputStream extends CountingInputStream {
    private long _maximumCount;

    public CappedInputStream(InputStream input, long maximumCount) {
        super(input);
        _maximumCount = maximumCount;

From source file org.fcrepo.kernel.utils.FixityInputStream.java

/**
 * An InputStream wrapper that calculates the size and digest
 * while reading from the stream.
 * @author Chris Beer
 * @date Mar 12, 2013
 */

From source file org.fcrepo.kernel.impl.utils.FixityInputStream.java

/**
 * An InputStream wrapper that calculates the size and digest
 * while reading from the stream.
 * @author Chris Beer
 * @since Mar 12, 2013
 */

From source file org.fcrepo.kernel.modeshape.utils.FixityInputStream.java

/**
 * An InputStream wrapper that calculates the size and digest
 * while reading from the stream.
 * @author Chris Beer
 * @since Mar 12, 2013
 */

From source file org.hardisonbrewing.s3j.ProgressInputStream.java

public class ProgressInputStream extends CountingInputStream {

    private long length;

    public ProgressInputStream(InputStream inputStream, long length) {

From source file ch.iterate.openstack.swift.io.HttpMethodReleaseInputStream.java

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

    private HttpResponse response;

    /**

From source file synapticloop.b2.io.HttpMethodReleaseInputStream.java

public class HttpMethodReleaseInputStream extends CountingInputStream {
    private static final Logger LOGGER = LoggerFactory.getLogger(HttpMethodReleaseInputStream.class);

    private HttpResponse response;

    /**

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

public class HttpMethodReleaseInputStream extends CountingInputStream {
    private static final Logger log = LoggerFactory.getLogger(HttpMethodReleaseInputStream.class);

    private final AtomicBoolean close = new AtomicBoolean();

    private HttpResponse response;