org.emboss.jemboss.parser
Class AjaxUtil

java.lang.Object
  extended byorg.emboss.jemboss.parser.AjaxUtil

public class AjaxUtil
extends java.lang.Object

Utility to get the sequence file contents or the database entry ready to use in Ajax


Constructor Summary
AjaxUtil()
           
 
Method Summary
static java.lang.String getFileOrDatabaseForAjax(java.lang.String fname, java.lang.String[] db, javax.swing.JFrame f, boolean withSoap)
          Returns the sequence file contents or the database entry ready to use in Ajax.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AjaxUtil

public AjaxUtil()
Method Detail

getFileOrDatabaseForAjax

public static java.lang.String getFileOrDatabaseForAjax(java.lang.String fname,
                                                        java.lang.String[] db,
                                                        javax.swing.JFrame f,
                                                        boolean withSoap)
Returns the sequence file contents or the database entry ready to use in Ajax.

Parameters:
fname - file or database entry
f - the JFrame or null
withSoap - true if being run in client-server mode
Returns:
String to pass to seqType or seqsetType (if not null)