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

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

public static class Sequence.JSONOutput
extends Sequence.SequenceRetrieverBase

Output a sequence as JSON

Author:
leo

Constructor Summary
Sequence.JSONOutput(PrintWriter writer, int start, int end, boolean isReverseStrand)
           
 
Method Summary
 void finish()
           
 void init()
           
 void output(String subSequence)
           
 
Methods inherited from class org.utgenome.gwt.utgb.server.app.Sequence.SequenceRetrieverBase
getComplement, getEnd, getStart, handle, handleException, isReverseStrand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sequence.JSONOutput

public Sequence.JSONOutput(PrintWriter writer,
                           int start,
                           int end,
                           boolean isReverseStrand)
Method Detail

init

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

output

public void output(String subSequence)
Specified by:
output in class Sequence.SequenceRetrieverBase

finish

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


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