Example usage for java.io FilterInputStream subclass-usage

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

Introduction

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

Usage

From source file net.ovres.util.UncompressedInputStream.java

public class UncompressedInputStream extends FilterInputStream {
    protected InputStream in;

    public UncompressedInputStream(InputStream input) throws IOException {
        super(new BufferedInputStream(convertStream(input)));
    }

From source file LimitedInputStream.java

/**
 * An input stream, which limits its data size. This stream is
 * used, if the content length is unknown.
 */
public abstract class LimitedInputStream extends FilterInputStream {
    /**

From source file LimitedInputStream.java

/**
 * An input stream, which limits its data size. This stream is
 * used, if the content length is unknown.
 */
public abstract class LimitedInputStream extends FilterInputStream {
    /**

From source file org.sonatype.nexus.proxy.storage.remote.httpclient.InterruptableInputStream.java

/**
 * Best-effort interruptable InputStream wrapper. The wrapper checks for Thread.isInterrupted before delegating to the
 * actual stream. If the thread is interrupted, the wrapper calls AbortableHttpRequest.abort() and throws
 * InterruptedIOException.
 */
class InterruptableInputStream extends FilterInputStream {

From source file org.apache.hadoop.io.PositionInputStream.java

/**
 * An input stream which supports {@link #position()}. 
 */
public class PositionInputStream extends FilterInputStream {
    public static final Log LOG = LogFactory.getLog(PositionInputStream.class);

From source file com.gc.iotools.stream.is.inspection.DiagnosticInputStream.java

/**
 * <p>
 * A decorating <code>InputStream</code> that detects and log useful debug
 * informations about the stream passed in the constructor, and detects wrong
 * usage patterns.
 * </p>

From source file org.sonatype.nexus.proxy.storage.remote.httpclient.Hc4InputStream.java

/**
 * Simple wrapper input stream implementation that translates some HC4 specific exceptions to Nexus Core specific
 * exceptions, making Core able to properly respond to them.
 *
 * @since 2.4
 */

From source file org.apache.jackrabbit.oak.commons.io.LazyInputStream.java

/**
 * * This input stream delays accessing the ByteSource until the first byte is read
 */
public class LazyInputStream extends FilterInputStream {
    private final ByteSource byteSource;
    private boolean opened;

From source file org.apache.xmlgraphics.image.loader.ObservableInputStream.java

/**
 * This is a proxying input stream that records whether a stream has been closed or not.
 */
public class ObservableInputStream extends FilterInputStream implements ObservableStream {

    /** logger */

From source file phex.utils.LengthLimitedInputStream.java

/**
 * Cuts the wrapped InputStream off after a specified number of bytes.
 * 
 * @author jakarta-commons httpclient org.apache.commons.httpclient.ContentLengthInputStream
 */
public class LengthLimitedInputStream extends FilterInputStream {