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 pt.lunacloud.services.storage.internal.RepeatableInputStream.java

/**
 * A repeatable input stream wrapper for any input stream. This input stream
 * relies on buffered data to repeat, and can therefore only be repeated when
 * less data has been read than this buffer can hold.
 * <p>
 * <b>Note:</b> Always use a {@link RepeatableFileInputStream} instead of this

From source file com.ibm.stocator.fs.swift.SwiftInputStreamWrapper.java

/**
 * Wraps the SwiftInputStream
 */
public class SwiftInputStreamWrapper extends InputStream {

    /*

From source file cn.ctyun.amazonaws.services.s3.internal.RepeatableFileInputStream.java

/**
 * A repeatable input stream for files. This input stream can be repeated an
 * unlimited number of times, without any limitation on when a repeat can occur.
 */
public class RepeatableFileInputStream extends InputStream {
    private static final Log log = LogFactory.getLog(RepeatableFileInputStream.class);

From source file com.sinacloud.scs.services.scs.internal.RepeatableFileInputStream.java

/**
 * A repeatable input stream for files. This input stream can be repeated an
 * unlimited number of times, without any limitation on when a repeat can occur.
 */
public class RepeatableFileInputStream extends InputStream {
    private static final Log log = LogFactory.getLog(RepeatableFileInputStream.class);

From source file com.sina.cloudstorage.services.scs.internal.RepeatableFileInputStream.java

/**
 * A repeatable input stream for files. This input stream can be repeated an
 * unlimited number of times, without any limitation on when a repeat can occur.
 */
public class RepeatableFileInputStream extends InputStream {
    private static final Log log = LogFactory.getLog(RepeatableFileInputStream.class);

From source file org.apache.axis2.jaxws.context.listener.CompositeInputStream.java

/**
 * CompositeInputStream has ability to store multiple inputStreams in a LinkList
 * and perform various input stream operaitons on these inputStream in a serialized 
 * manner or first in first read model.
 */
public class CompositeInputStream extends InputStream {

From source file org.alloy.metal.resource.ResourceInputStream.java

/**
* @author jfischer
*/
public class ResourceInputStream extends InputStream {

    private final InputStream is;

From source file org.primefaces.util.BoundedInputStream.java

/**
 * This is a stream that will only supply bytes up to a certain length - if its
 * position goes above that, it will stop.
 * <p>
 * This is useful to wrap ServletInputStreams. The ServletInputStream will block
 * if you try to read content from it that isn't there, because it doesn't know

From source file edu.umn.cs.spatialHadoop.nasa.HTTPInputStream.java

/**
 * A wrapper around a stream obtained from {@link URL#openStream()} that
 * makes it {@link Seekable} and {@link PositionedReadable} to be used
 * with {@link FSDataInputStream}, hence {@link HTTPFileSystem}.
 * 
 * All methods are delegated to the underlying (wrapped) input stream.

From source file DebugInputStream.java

/**
 * Reads data off a stream, printing every byte read to System.err.
 */
public class DebugInputStream extends InputStream {

    /**