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 TraceInputStream.java

/**
 * This class is a FilterInputStream that writes the bytes
 * being read from the given input stream into the given output
 * stream. This class is typically used to provide a trace of
 * the data that is being retrieved from an input stream.
 *

From source file com.silverwrist.util.Base64EncodeInputStream.java

public class Base64EncodeInputStream extends FilterInputStream {
    /*--------------------------------------------------------------------------------
     * Static data members
     *--------------------------------------------------------------------------------
     */

From source file phex.util.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 {

From source file org.apache.poi.util.LittleEndianInputStream.java

/**
 * Wraps an {@link InputStream} providing {@link LittleEndianInput}<p>
 *
 * This class does not buffer any input, so the stream read position maintained
 * by this class is consistent with that of the inner stream.
 */

From source file net.sf.jasperreports.data.DataFileStream.java

/**
 * @author Lucian Chirita (lucianc@users.sourceforge.net)
 */
public class DataFileStream extends FilterInputStream {

    private static final Log log = LogFactory.getLog(DataFileUtils.class);

From source file org.jlibrary.web.servlet.io.LimitedInputStream.java

/**
 * This input stream limits the amount of data that can be sent through it. The idea offer 
 * a way to avoid DOS attacks without having to touch the client side. If the caller tries 
 * to read too much data from this InputStream then an IOException will be called. The amount 
 * of data allowed to be read can be specified from the constructor.
 * 

From source file org.apache.xmlgraphics.util.io.SubInputStream.java

    /**
     * This class is a FilterInputStream descendant that reads from an underlying InputStream
     * up to a defined number of bytes or the end of the underlying stream. Closing this InputStream
     * will not result in the underlying InputStream to be closed, too.
     * <p>
     * This InputStream can be used to read chunks from a larger file of which the length is

From source file org.apache.xmlgraphics.util.io.SubInputStream.java

    /**
     * This class is a FilterInputStream descendant that reads from an underlying InputStream
     * up to a defined number of bytes or the end of the underlying stream. Closing this InputStream
     * will not result in the underlying InputStream to be closed, too.
     * 
     * This InputStream can be used to read chunks from a larger file of which the length is

From source file net.yacy.cora.util.StrictLimitInputStream.java

/**
 * Strictly limit the number of bytes consumed on a wrapped input stream :
 * doesn't allow exceeding the limit and throw an exception when it is reached.
 * See also some alternatives to consider :
 * <ul>
 * <li>org.apache.commons.fileupload.util.LimitedInputStream : check the limit

From source file GenericServer.java

class ServiceInputStream extends FilterInputStream {
    public ServiceInputStream(InputStream in) {
        super(in);
    }

    public ServiceRequest getRequest() throws IOException {