Example usage for java.io DataInput interface-usage

List of usage examples for java.io DataInput interface-usage

Introduction

In this page you can find the example usage for java.io DataInput interface-usage.

Usage

From source file org.bdval.io.compound.CompoundDataInput.java

/**
 * A DataOutput object that also supports writeObject.
 * TODO: Work on reverting back to thread safe version!
 * TODO: If an EOF is reached while reading mutiple bytes in one operation from the delegate inputstream, this class
 * may just throw EOFException without reading any bytes at all. This is not the behavior expected from DataInputStream
 *

From source file ReaderDataInput.java

/**
 * This class is an part implementation of DataInput. It wraps a Reader object.
 *
 * @author Fred Toussi (fredt@users dot sourceforge.net)
 * @version 1.9.0
 * @since 1.9.0

From source file org.apache.hama.bsp.message.io.SpilledDataInputBuffer.java

/**
 * <code>SpilledDataInputBuffer</code> class is designed to read from the
 * spilling buffer. Depending on whether the records were spilled or not, the
 * stream provides data from a list of byte arrays or from file. The contents of
 * the file are asynchronously loaded in the byte arrays as the values are read.
 * 

From source file org.apache.tajo.storage.v2.ScheduledInputStream.java

public class ScheduledInputStream extends InputStream implements Seekable, Closeable, DataInput {
    private static final Log LOG = LogFactory.getLog(ScheduledInputStream.class);

    private FSDataInputStream originStream;

    private int currentScanIndex;

From source file dk.statsbiblioteket.util.LineReader.java

/**
 * A Java NIO based high-performance, large file-size enabled, random seek
 * capable line reader. Use only for good.
 *
 * The reader assumes UTF-8 encoding when performing String-related operations.
 * It is substantially faster than {@link RandomAccessFile} (about a factor 5