public class JFatCatClient extends Object
Constructor and Description |
---|
JFatCatClient() |
Modifier and Type | Method and Description |
---|---|
static String |
convertStreamToString(InputStream stream) |
static AFPChain |
getAFPChainFromServer(String serverLocation,
String name1,
String name2,
Atom[] ca1,
Atom[] ca2) |
static AFPChain |
getAFPChainFromServer(String serverLocation,
String method,
String name1,
String name2,
Atom[] ca1,
Atom[] ca2,
int timeout) |
static PdbPairsMessage |
getPdbPairs(String url,
int nrPair,
String username) |
int |
getPositionInQueue(String serverLocation,
String method,
String name1,
String name2) |
int |
getPositionInQueue(String serverLocation,
String method,
String name1,
String name2,
int timeout) |
static int |
getRandomSleepTime() |
static SortedSet<String> |
getRepresentatives(String serverLocation,
int cutoff) |
static int |
getTimeout() |
static boolean |
hasPrecalculatedResult(String serverLocation,
String method,
String name1,
String name2) |
static boolean |
hasPrecalculatedResult(String serverLocation,
String method,
String name1,
String name2,
int timeout) |
static void |
main(String[] args) |
static void |
sendAFPChainToServer(String serverLocation,
AFPChain afpChain,
Atom[] ca1,
Atom[] ca2) |
static String |
sendMultiAFPChainToServer(String serverLocation,
String multiXML,
String username) |
static String |
sendMultiAFPChainToServer(String serverLocation,
String multiXML,
String username,
String version) |
public static boolean hasPrecalculatedResult(String serverLocation, String method, String name1, String name2)
public static boolean hasPrecalculatedResult(String serverLocation, String method, String name1, String name2, int timeout)
public int getPositionInQueue(String serverLocation, String method, String name1, String name2)
public int getPositionInQueue(String serverLocation, String method, String name1, String name2, int timeout)
public static AFPChain getAFPChainFromServer(String serverLocation, String name1, String name2, Atom[] ca1, Atom[] ca2)
public static AFPChain getAFPChainFromServer(String serverLocation, String method, String name1, String name2, Atom[] ca1, Atom[] ca2, int timeout)
public static String convertStreamToString(InputStream stream)
public static String sendMultiAFPChainToServer(String serverLocation, String multiXML, String username) throws JobKillException
JobKillException
public static String sendMultiAFPChainToServer(String serverLocation, String multiXML, String username, String version) throws JobKillException
JobKillException
public static int getRandomSleepTime()
public static final void sendAFPChainToServer(String serverLocation, AFPChain afpChain, Atom[] ca1, Atom[] ca2) throws JobKillException
JobKillException
public static final int getTimeout()
public static final PdbPairsMessage getPdbPairs(String url, int nrPair, String username) throws IOException, JobKillException
IOException
JobKillException
Copyright © 2000–2016 BioJava. All rights reserved.