org.gersteinlab.act.io
Class BedFilesReader

java.lang.Object
  extended by org.gersteinlab.act.io.DataFilesReader
      extended by org.gersteinlab.act.io.BedFilesReader

public class BedFilesReader
extends DataFilesReader

        This class defines a reader of data files in BED format. See
        http://genome.ucsc.edu/FAQ/FAQformat.html for definition.
        


Field Summary
 
Fields inherited from class org.gersteinlab.act.io.DataFilesReader
br
 
Constructor Summary
BedFilesReader(java.io.Reader rIn)
          Create a new reader with source data from an input reader.
 
Method Summary
 Interval readInterval()
          Read the next interval from the reader.
 
Methods inherited from class org.gersteinlab.act.io.DataFilesReader
close, countIntervals, getReader, readIntervals, readIntervals, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BedFilesReader

public BedFilesReader(java.io.Reader rIn)
Create a new reader with source data from an input reader.

Parameters:
rIn - The input reader
Method Detail

readInterval

public Interval readInterval()
                      throws java.io.IOException
Read the next interval from the reader.

Specified by:
readInterval in class DataFilesReader
Returns:
The next interval
null if not more
Throws:
java.io.IOException