Example usage for java.io InputStream subclass-usage

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

Introduction

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

Usage

From source file CombinedInputStream.java

/**
 * Reads multiple Inputstreams as one
 * 
 * @author  Daniel Galn y Martins
 * @version $Revision: 1.4 $
 */

From source file com.mebigfatguy.inventory.utils.LengthLimitedInputStream.java

public class LengthLimitedInputStream extends InputStream {

    private InputStream parentStream;
    private long remainingLength;

    public LengthLimitedInputStream(InputStream parent, long length) {

From source file org.ros.android.acm_serial.PollingInputStream.java

/**
 * Constantly reads from an {@link InputStream} into a buffer.
 * 
 * @author damonkohler@google.com (Damon Kohler)
 */
public class PollingInputStream extends InputStream {

From source file gridool.util.net.InterruptableInputStream.java

/**
 * 
 * <DIV lang="en"></DIV>
 * <DIV lang="ja"></DIV>
 * 
 * @author Makoto YUI (yuin405@gmail.com)

From source file org.apache.flink.runtime.state.BoundedInputStream.java

/**
 * Wrapper around a FSDataInputStream to limit the maximum read offset.
 *
 * Based on the implementation from org.apache.commons.io.input.BoundedInputStream
 */
public class BoundedInputStream extends InputStream {

From source file org.eurekastreams.commons.io.ResourceInputStream.java

/**
 * Parse a resource (packaged file) as an InputStream. The current class's class
 * loader is used to find the resource by name and wrap it as an InputStream.
 */
public class ResourceInputStream extends InputStream {
    /**

From source file c3.ops.priam.backup.RangeReadInputStream.java

/**
 * An implementation of InputStream that will request explicit byte ranges of the target file.
 * This will make it easier to retry a failed read - which is important if we don't want to \
 * throw away a 100Gb file and restart after reading 99Gb and failing.
 */
public class RangeReadInputStream extends InputStream {

From source file org.apache.drill.common.util.DataInputInputStream.java

public class DataInputInputStream extends InputStream {

    private final DataInput in;
    private boolean closed = false;

    /**

From source file com.netflix.priam.backup.RangeReadInputStream.java

/**
 * An implementation of InputStream that will request explicit byte ranges of the target file.
 * This will make it easier to retry a failed read - which is important if we don't want to \
 * throw away a 100Gb file and restart after reading 99Gb and failing.
 */
public class RangeReadInputStream extends InputStream {

From source file SizeLimitInputStream.java

/**
 * An input stream wrapper that will read only a set number of bytes from the
 * underlying stream.
 *
 * @author Stephen Ostermiller http://ostermiller.org/contact.pl?regarding=Java+Utilities
 * @since ostermillerutils 1.04.00