org.utgenome.format.fasta
Class CompactFASTA.OnMemoryBuffer

java.lang.Object
  extended by org.utgenome.format.fasta.CompactFASTA.OnMemoryBuffer
All Implemented Interfaces:
CompactFASTA.PacFileAccess
Enclosing class:
CompactFASTA

public class CompactFASTA.OnMemoryBuffer
extends Object
implements CompactFASTA.PacFileAccess


Constructor Summary
CompactFASTA.OnMemoryBuffer(File pacFile, File pacNFile)
           
 
Method Summary
 void close()
           
 void readNSeq(long cursor, byte[] buf)
           
 void readSeq(long cursor, byte[] buf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompactFASTA.OnMemoryBuffer

public CompactFASTA.OnMemoryBuffer(File pacFile,
                                   File pacNFile)
                            throws IOException
Throws:
IOException
Method Detail

readSeq

public void readSeq(long cursor,
                    byte[] buf)
             throws IOException
Specified by:
readSeq in interface CompactFASTA.PacFileAccess
Throws:
IOException

readNSeq

public void readNSeq(long cursor,
                     byte[] buf)
              throws IOException
Specified by:
readNSeq in interface CompactFASTA.PacFileAccess
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface CompactFASTA.PacFileAccess
Throws:
IOException


Copyright © 2007-2012 utgenome.org. All Rights Reserved.