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

/**
 * Performs Base-64 decoding on an underlying stream.
 */
public class Base64InputStream extends InputStream {

    private static final int ENCODED_BUFFER_SIZE = 1536;

From source file org.apache.jk.common.JkInputStream.java

/** Generic input stream impl on top of ajp
 */
public class JkInputStream extends InputStream {
    private static org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory
            .getLog(JkInputStream.class);

From source file com.jet.net.http.ApacheChunkedInputStream.java

/**
 * <p>Transparently coalesces chunks of a HTTP stream that uses
 * Transfer-Encoding chunked.</p>
 *
 * <p>Note that this class NEVER closes the underlying stream, even when close
 * gets called.  Instead, it will read until the "end" of its chunking on close,

From source file skewtune.mapreduce.lib.input.MapOutputInputStream.java

/**
 * From Hadoop Shuffle code.
 * 
 * @author yongchul
 * 
 * @param <K>

From source file org.kawanfw.file.api.client.RemoteInputStream.java

/**
 * 
 * A <code>RemoteInputStream</code> obtains input bytes
 * from a remote file.
 * <p>
 * The remote file bytes are read with standards {@code InputStream} read

From source file XmlEncodingSniffer.java

abstract class PushedInputStream extends InputStream {
    private static int defaultBufferSize = 2048;
    protected byte buf[];
    protected int writepos;
    protected int readpos;
    protected int markpos = -1;

From source file org.globus.workspace.cloud.client.util.CumulusParameterConvert.java

class CumulusInputStream extends InputStream {
    private InputStream is;
    private PrintStream pr;
    private CloudProgressPrinter progress;
    private long where = 0;
    private long marked = 0;

From source file org.apache.pig.shock.SSHSocketImplFactory.java

class ChannelInputStream extends InputStream {
    SocketChannel sc;

    public ChannelInputStream(SocketChannel sc) {
        this.sc = sc;
    }

From source file no.ntnu.idi.freerider.backend.test.RequestTest.java

/** Private utility class to turn Strings into InputStreams */
class StringInputStream extends InputStream {
    private String string;
    private int mark;
    private int position;

From source file n3phele.service.nShell.NParser.java

class BlockStreamer extends InputStream {
    InputStream stream;
    Integer lookahead = null;
    boolean nextIsNL = false;

    public BlockStreamer(InputStream stream) {