org.utgenome.format.fasta
Class CompactFASTA.OnDiskAccess

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

public class CompactFASTA.OnDiskAccess
extends Object
implements CompactFASTA.PacFileAccess


Constructor Summary
CompactFASTA.OnDiskAccess(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.OnDiskAccess

public CompactFASTA.OnDiskAccess(File pacFile,
                                 File pacNFile)
                          throws FileNotFoundException
Throws:
FileNotFoundException
Method Detail

close

public void close()
           throws IOException
Specified by:
close 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

readSeq

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


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