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 org.codehaus.httpcache4j.payload.DelegatingInputStream.java

/**
 * @author <a href="mailto:erlend@codehaus.org">Erlend Hamnaberg</a>
 * @version $Revision: #5 $ $Date: 2008/09/15 $
 */
public class DelegatingInputStream extends InputStream {
    private final InputStream delegate;

From source file DebugInputStream.java

public class DebugInputStream extends InputStream {
    InputStream is;
    ByteArrayOutputStream buffer;
    boolean debug;

    public DebugInputStream(InputStream in, boolean usedebug) {

From source file edu.unc.lib.dl.cdr.sword.server.MethodAwareInputStream.java

/**
 * Input stream wrapper class for streams that originated from a HttpMethod which could not be closed at the time of
 * reading.
 * 
 * @author bbpennel
 * 

From source file org.eclipse.smarthome.io.rest.Stream2JSONInputStream.java

/**
 * This {@link InputStream} will stream {@link Stream}s as JSON one item at a time. This will reduce memory usage when
 * streaming large collections through the REST interface. The input stream creates one JSON representation at a time
 * from the top level elements of the stream. For best performance a flattened stream should be provided. Otherwise a
 * nested collections JSON representation will be fully transformed into memory.
 *

From source file com.amazonaws.internal.SdkInputStream.java

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

From source file LineReader.java

/**
 * A line reading wrapper that works with byte streams. Has the same sematics as
 * {@link BufferedReader}<br>
 * 
 * @author Jordan Zimmerman
 */

From source file de.aflx.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.emc.esu.api.rest.CommonsInputStreamWrapper.java

public class CommonsInputStreamWrapper extends InputStream {
    private static final Logger l4j = Logger.getLogger(CommonsInputStreamWrapper.class);

    private InputStream in;
    private HttpResponse response;

From source file com.izforge.izpack.core.substitutor.VariableSubstitutorInputStream.java

/**
 * An input stream which resolves IzPack variables on the fly
 */
public class VariableSubstitutorInputStream extends InputStream {
    private String encoding;
    private Reader substitutorReader;

From source file net.sf.jabb.util.vfs.CleanUpOnCloseVfsInputStream.java

/**
 * Cleans up when got closed.
 * @author James Hu
 *
 */
public class CleanUpOnCloseVfsInputStream extends InputStream {