Example usage for java.io FilterInputStream subclass-usage

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

Introduction

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

Usage

From source file LineInputStream.java

/**
 * This class is to support reading CRLF terminated lines that
 * contain only US-ASCII characters from an input stream. Provides
 * functionality that is similar to the deprecated 
 * <code>DataInputStream.readLine()</code>. Expected use is to read
 * lines as String objects from a RFC822 stream.

From source file LimitedBandwidthStream.java

/**
 * A FilterInputStream with a limited bandwith
 *
 * This implements an filter for an existing input stream that allows
 * it to limit the read bandwidth. This can be useful for network
 * streams that should be limited to a specified bandwidth.

From source file com.github.sardine.impl.io.ContentLengthInputStream.java

public class ContentLengthInputStream extends FilterInputStream {

    private Long length;

    public ContentLengthInputStream(final HttpResponse response) throws IOException {
        super(response.getEntity().getContent());

From source file net.sf.logsaw.core.internal.logresource.simple.ProgressingInputStream.java

/**
 * An input stream that advances an progress monitor as kilobytes are read 
 * from the underlying inputstream.
 * 
 * @author Philipp Nanz
 */

From source file pt.lunacloud.services.storage.model.StorageObjectInputStream.java

/**
 * Input stream representing the content of an {@link StorageObject}. In
 * addition to the methods supplied by the {@link InputStream} class,
 * {@link StorageObjectInputStream} supplies the abort() method, which will
 * terminate an HTTP connection to the Storage object.
 */

From source file cn.ctyun.amazonaws.services.s3.model.S3ObjectInputStream.java

/**
 * Input stream representing the content of an {@link S3Object}. In addition to
 * the methods supplied by the {@link InputStream} class,
 * {@link S3ObjectInputStream} supplies the abort() method, which will terminate
 * an HTTP connection to the S3 object.
 */

From source file org.auraframework.util.MD5InputStream.java

/**
 * @since 0.0.85
 */
public class MD5InputStream extends FilterInputStream {

    private final MessageDigest md5;

From source file org.fcrepo.http.commons.responses.RangeRequestInputStream.java

/**
 * An InputStream wrapper that skips N bytes and only returns
 * the data up to a certain length
 *
 * @author awoods
 */

From source file xyz.docbleach.api.util.CloseShieldInputStream.java

/**
 * Proxy stream that prevents the underlying input stream from being closed.
 *
 * <p>This class is typically used in cases where an input stream needs to be passed to a component
 * that wants to explicitly close the stream even if more input would still be available to other
 * components.

From source file org.jason.mapmaker.server.util.UploadProgressInputStream.java

/**
 * UploadProgressInputStream.java
 *
 * An InputStream that can be used to monitor file upload progress. I'll implement using this as I go.
 *
 * Based on code written by Adrian Walker: