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.eclipse.packagedrone.utils.rpm.parse.RpmInputStream.java

public class RpmInputStream extends InputStream {
    private final static Logger logger = LoggerFactory.getLogger(RpmInputStream.class);

    private static final byte[] DUMMY = new byte[128];

    private final DataInputStream in;

From source file org.apache.hadoop.mapred.IFileInputStream.java

/**
 * A checksum input stream, used for IFiles.
 * Used to validate the checksum of files created by {@link IFileOutputStream}. 
*/
@InterfaceAudience.Private
@InterfaceStability.Unstable

From source file org.apache.tez.runtime.library.common.sort.impl.IFileInputStream.java

/**
 * A checksum input stream, used for IFiles.
 * Used to validate the checksum of files created by {@link IFileOutputStream}. 
*/
@InterfaceAudience.Private
@InterfaceStability.Unstable

From source file ReaderInputStream.java

/**
 * An InputStream backed by a Reader
 */
public class ReaderInputStream extends InputStream {
    protected Reader reader;
    protected ByteArrayOutputStream byteArrayOut;

From source file org.apache.tez.engine.common.sort.impl.IFileInputStream.java

/**
 * A checksum input stream, used for IFiles.
 * Used to validate the checksum of files created by {@link IFileOutputStream}. 
*/
@InterfaceAudience.Private
@InterfaceStability.Unstable

From source file CBZip2InputStream.java

/**
 * An input stream that decompresses from the BZip2 format (without the file
 * header chars) to be read as any other stream.
 *
 * @author <a href="mailto:keiron@aftexsw.com">Keiron Liddle</a>
 */

From source file org.apache.hadoop.hdfs.server.namenode.bookkeeper.BookKeeperJournalInputStream.java

/**
 * A {@link InputStream} over a BookKeeper ledger which maps to a specific
 * edit log segment.
 */
public class BookKeeperJournalInputStream extends InputStream {

From source file org.apache.hadoop.hive.ql.io.orc.InStream.java

public abstract class InStream extends InputStream {

    private static final Log LOG = LogFactory.getLog(InStream.class);

    protected final String name;
    protected final long length;

From source file org.lockss.filter.ZipFilterInputStream.java

/**
 * <p>
 * Processes a {@link ZipInputStream} entry by entry but only return unzipped
 * bytes from those entries designated by a predicate implemented by a concrete
 * subclass ({@link #keepZipEntry(ZipEntry, String)}).
 * </p>

From source file io.takari.jdkget.osx.dmg.udif.UDIFBlockInputStream.java

public abstract class UDIFBlockInputStream extends InputStream {
    protected ReadableRandomAccessStream raf;
    protected UDIFBlock block;
    protected final int addInOffset;
    private long globalBytesRead;
    // 16 KiB buffer... is it reasonable?