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 de.innovationgate.utils.MD5HashingInputStream.java

/**
 * A wrapper input stream that returns the data of the wrapped stream unmodified, but builds an MD5 hash from its data while reading.
 */
public class MD5HashingInputStream extends InputStream {

    /**

From source file org.apache.tika.parser.wordperfect.WPInputStream.java

/**
 * {@link InputStream} wrapper adding WordPerfect-specific byte-reading methods.
 * Applies to both 5.x and 6+ documents.
 * @author Pascal Essiembre
 */
class WPInputStream extends InputStream {

From source file org.commoncrawl.util.shared.BoundedRangeFileInputStream.java

/**
 * BoundedRangeFIleInputStream abstracts a contiguous region of a Hadoop
 * FSDataInputStream as a regular input stream. One can create multiple
 * BoundedRangeFileInputStream on top of the same FSDataInputStream and they
 * would not interfere with each other.
 * Copied from hadoop-335 tfile.

From source file EOLConvertingInputStream.java

/**
 * InputStream which converts <code>\r</code>
 * bytes not followed by <code>\n</code> and <code>\n</code> not 
 * preceded by <code>\r</code> to <code>\r\n</code>.
 */
public class EOLConvertingInputStream extends InputStream {

From source file cn.isif.util_plus.http.ResponseStream.java

/**
 * Author: wyouflf
 * Date: 13-7-31
 * Time: ?3:27
 */
public class ResponseStream extends InputStream {

From source file org.apache.hadoop.fs.swift.http.HttpInputStreamWithRelease.java

/**
 * This replaces the input stream release class from JetS3t and AWS;
 * # Failures in the constructor are relayed up instead of simply logged.
 * # it is set up to be more robust at teardown
 * # release logic is thread safe
 * Note that the thread safety of the inner stream contains no thread

From source file com.sinacloud.scs.http.HttpMethodReleaseInputStream.java

/**
 * Utility class to wrap InputStreams obtained from an HttpClient library's
 * HttpMethod object, and ensure the stream and HTTP connection are properly
 * released.
 * <p>
 * This input stream wrapper is used to ensure that input streams obtained

From source file org.opensolaris.opengrok.history.RCSget.java

/**
 * Virtualise RCS log as an input stream
 */
public class RCSget extends InputStream {
    private InputStream stream;

From source file com.sina.cloudstorage.http.HttpMethodReleaseInputStream.java

/**
 * Utility class to wrap InputStreams obtained from an HttpClient library's
 * HttpMethod object, and ensure the stream and HTTP connection are properly
 * released.
 * <p>
 * This input stream wrapper is used to ensure that input streams obtained

From source file com.creditease.utilframe.http.ResponseStream.java

/**
 * Author: wyouflf
 * Date: 13-7-31
 * Time: ?3:27
 */
public class ResponseStream extends InputStream {