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 com.ksc.internal.SdkInputStream.java

/**
 * Base class for KSC Java SDK specific {@link InputStream}.
 */
public abstract class SdkInputStream extends InputStream implements MetricAware, Releasable {
    /**
     * Returns the underlying input stream, if any, from the subclass; or null

From source file com.googlecode.sardine.impl.io.ConsumingInputStream.java

/**
 * Wrapper for the input stream, will consume the rest of the response on {@link ConsumingInputStream#close()}.
 *
 * @author mirko
 * @version $Id: ConsumingInputStream.java 251 2011-05-25 15:29:48Z latchkey $
 */

From source file com.jayway.restassured.internal.support.CloseHTTPClientConnectionInputStreamWrapper.java

public class CloseHTTPClientConnectionInputStreamWrapper extends InputStream {
    private ConnectionConfig connectionConfig;
    private final ClientConnectionManager connectionManager;
    private final InputStream wrapped;

    public CloseHTTPClientConnectionInputStreamWrapper(ConnectionConfig connectionConfig,

From source file io.restassured.internal.support.CloseHTTPClientConnectionInputStreamWrapper.java

public class CloseHTTPClientConnectionInputStreamWrapper extends InputStream {
    private static final int MINUS_ONE = -1;
    private static final int ZERO = 0;
    private ConnectionConfig connectionConfig;
    private final ClientConnectionManager connectionManager;
    private final InputStream wrapped;

From source file ch.sourcepond.maven.plugin.jenkins.process.xslt.TransformerInputStream.java

/**
 *
 */
final class TransformerInputStream extends InputStream {
    static final int EOF = -1;
    private final InputStream stdin;

From source file com.joyent.manta.util.ContinuingInputStream.java

/**
 * {@link InputStream} implementation that allows for the attaching and detaching of delegated (source) streams. This
 * allows classes which embed us to continue supplying data to their callers transparently regardless of whether the
 * data is coming from the original source {@link InputStream} or a continuation thereof.
 * <p>
 * Inpsired by {@link com.joyent.manta.client.multipart.MultipartOutputStream}.

From source file FastByteArrayInputStream.java

/**
 * ByteArrayInputStream implementation that does not synchronize methods.
 */
public final class FastByteArrayInputStream extends InputStream {

    protected/* final */byte[] buf;

From source file voldemort.common.nio.ByteBufferBackedInputStream.java

/**
 * ByteBufferBackedInputStream allows a ByteBuffer to be the source of data for
 * InputStream-based callers.
 * <p/>
 * This class is used to interface with callers using "classic" java.io.* APIs.
 * For code that manages the ByteBufferBackedInputStream, there are accessor

From source file fm.last.moji.impl.FileDownloadInputStream.java

class FileDownloadInputStream extends InputStream {

    private static final Logger log = LoggerFactory.getLogger(FileDownloadInputStream.class);

    private final CountingInputStream delegate;
    private final Lock readLock;

From source file fr.xebia.jms.BytesMessageInputStream.java

/**
 * <p>
 * Small modification on
 * {@link org.springframework.ws.transport.jms.BytesMessageInputStream} :
 * <ul>
 * <li>make class <code>public</code> instead of <code>protected</code>,</li>