htsjdk.samtools.cram.encoding.reader
Class DataReaderFactory

java.lang.Object
  extended by htsjdk.samtools.cram.encoding.reader.DataReaderFactory

public class DataReaderFactory
extends java.lang.Object


Nested Class Summary
static class DataReaderFactory.DataReaderWithStats<T>
           
 
Constructor Summary
DataReaderFactory()
           
 
Method Summary
 AbstractReader buildReader(AbstractReader reader, BitInputStream bis, java.util.Map<java.lang.Integer,java.io.InputStream> inputMap, CompressionHeader h, int refId)
           
 java.util.Map<java.lang.String,DataReaderFactory.DataReaderWithStats> getStats(CramRecordReader reader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataReaderFactory

public DataReaderFactory()
Method Detail

buildReader

public AbstractReader buildReader(AbstractReader reader,
                                  BitInputStream bis,
                                  java.util.Map<java.lang.Integer,java.io.InputStream> inputMap,
                                  CompressionHeader h,
                                  int refId)
                           throws java.lang.IllegalArgumentException,
                                  java.lang.IllegalAccessException
Throws:
java.lang.IllegalArgumentException
java.lang.IllegalAccessException

getStats

public java.util.Map<java.lang.String,DataReaderFactory.DataReaderWithStats> getStats(CramRecordReader reader)
                                                                               throws java.lang.IllegalArgumentException,
                                                                                      java.lang.IllegalAccessException
Throws:
java.lang.IllegalArgumentException
java.lang.IllegalAccessException