org.utgenome.gwt.utgb.server.app
Class Sequence.SequenceRetrieverBase

java.lang.Object
  extended by org.utgenome.gwt.utgb.server.app.Sequence.SequenceRetrieverBase
All Implemented Interfaces:
org.xerial.db.sql.BeanResultHandler<FASTADatabase.NSeq>
Direct Known Subclasses:
FASTADatabase.TextOutput, Sequence.GraphicalOutput, Sequence.JSONOutput, Sequence.TextOutput, Sequence.XMLOutput
Enclosing class:
Sequence

public abstract static class Sequence.SequenceRetrieverBase
extends Object
implements org.xerial.db.sql.BeanResultHandler<FASTADatabase.NSeq>


Constructor Summary
Sequence.SequenceRetrieverBase(int start, int end, boolean isReverseStrand)
           
 
Method Summary
 void finish()
           
 char getComplement(char base)
           
 int getEnd()
           
 int getStart()
           
 void handle(FASTADatabase.NSeq seq)
           
 void handleException(Exception e)
           
 void init()
           
 boolean isReverseStrand()
           
abstract  void output(String subSequence)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sequence.SequenceRetrieverBase

public Sequence.SequenceRetrieverBase(int start,
                                      int end,
                                      boolean isReverseStrand)
Method Detail

handle

public void handle(FASTADatabase.NSeq seq)
            throws SQLException
Specified by:
handle in interface org.xerial.db.sql.BeanResultHandler<FASTADatabase.NSeq>
Throws:
SQLException

getStart

public int getStart()

getEnd

public int getEnd()

isReverseStrand

public boolean isReverseStrand()

output

public abstract void output(String subSequence)

getComplement

public char getComplement(char base)

init

public void init()
Specified by:
init in interface org.xerial.db.sql.BeanResultHandler<FASTADatabase.NSeq>

finish

public void finish()
Specified by:
finish in interface org.xerial.db.sql.BeanResultHandler<FASTADatabase.NSeq>

handleException

public void handleException(Exception e)
                     throws Exception
Specified by:
handleException in interface org.xerial.db.sql.BeanResultHandler<FASTADatabase.NSeq>
Throws:
Exception


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