Example usage for java.io Reader subclass-usage

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

Introduction

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

Usage

From source file UCSReader.java

/**
 * Reader for UCS-2 and UCS-4 encodings. (i.e., encodings from
 * ISO-10646-UCS-(2|4)).
 * 
 * @xerces.internal
 * 

From source file com.joliciel.talismane.utils.io.DirectoryReader.java

/**
 * A reader which reads through all the files in a given directory structure.
 * @author Assaf Urieli
 *
 */
public class DirectoryReader extends Reader implements CurrentFileProvider {

From source file org.wso2.carbon.registry.extensions.handlers.utils.ConflictResolutionReader.java

public class ConflictResolutionReader extends Reader {
    private static final Log log = LogFactory.getLog(ConflictResolutionReader.class);

    private static final String XPATH_EXPRESSION = "//lastModified";

    private Reader reader;

From source file ConcatReader.java

/**
 * A reader which reads sequentially from multiple sources.
 * More information about this class is available from <a target="_top" href=
 * "http://ostermiller.org/utils/">ostermiller.org</a>.
 *
 * @author Stephen Ostermiller http://ostermiller.org/contact.pl?regarding=Java+Utilities

From source file hu.bme.mit.sette.common.util.process.RunnableReader.java

/**
 * This class can read all the data from the given {@link Reader} to the given
 * {@link StringBuffer} and also implements {@link Runnable}. It can also notify
 * listeners of the {@link RunnableReaderListener} interface.
 */
public final class RunnableReader extends Reader implements Runnable {

From source file CRLFTerminatedReader.java

/**
 * A Reader for use with SMTP or other protocols in which lines
 * must end with CRLF.  Extends Reader and overrides its 
 * readLine() method.  The Reader readLine() method cannot
 * serve for SMTP because it ends lines with either CR or LF alone. 
 */

From source file org.wso2.carbon.registry.core.jdbc.utils.DumpReader.java

/**
 * A wrapper for the Reader that will cache the extra bytes consumed by xml stream reader in
 * registry.restore(path, reader) operation which restore the resources from a dump.xml This keep
 * track of the actual reading child resource (using setReadingChildResourceIndex) and consuming
 * child resource with normal read functions, if the consumed ones have higher values than actually
 * reading ones, this will buffer the extra bytes and release it after actual reading ones finished

From source file com.impetus.kundera.classreading.ClasspathReader.java

/**
 * The Class ClasspathReader.
 * 
 * @author animesh.kumar
 */
public class ClasspathReader extends Reader {

From source file org.wso2.carbon.repository.core.utils.DumpReader.java

/**
 * A wrapper for the Reader that will cache the extra bytes consumed by xml stream reader in
 * registry.restore(path, reader) operation which restore the resources from a dump.xml This keep
 * track of the actual reading child resource (using setReadingChildResourceIndex) and consuming
 * child resource with normal read functions, if the consumed ones have higher values than actually
 * reading ones, this will buffer the extra bytes and release it after actual reading ones finished

From source file org.csi.yucca.dataservice.ingest.binary.SequenceHDFSReader.java

/**
 * A <code>SequenceInputStream</code> represents the logical concatenation of
 * other input streams. It starts out with an ordered collection of input
 * streams and reads from the first one until end of file is reached, whereupon
 * it reads from the second one, and so on, until end of file is reached on the
 * last of the contained input streams.