Class JFatCatClient
java.lang.Object
org.biojava.nbio.structure.align.client.JFatCatClient
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
convertStreamToString
(InputStream stream) static AFPChain
getAFPChainFromServer
(String serverLocation, String method, String name1, String name2, Atom[] ca1, Atom[] ca2, int timeout) static AFPChain
static final 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
getRepresentatives
(String serverLocation, int cutoff) static final int
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
static final 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)
-
Constructor Details
-
JFatCatClient
public JFatCatClient()
-
-
Method Details
-
main
- Throws:
Exception
-
hasPrecalculatedResult
-
hasPrecalculatedResult
-
getPositionInQueue
-
getPositionInQueue
-
getAFPChainFromServer
-
getAFPChainFromServer
-
convertStreamToString
-
sendMultiAFPChainToServer
public static String sendMultiAFPChainToServer(String serverLocation, String multiXML, String username) throws JobKillException - Throws:
JobKillException
-
sendMultiAFPChainToServer
public static String sendMultiAFPChainToServer(String serverLocation, String multiXML, String username, String version) throws JobKillException - Throws:
JobKillException
-
getRandomSleepTime
public static int getRandomSleepTime() -
sendAFPChainToServer
public static final void sendAFPChainToServer(String serverLocation, AFPChain afpChain, Atom[] ca1, Atom[] ca2) throws JobKillException - Throws:
JobKillException
-
getTimeout
public static final int getTimeout() -
getPdbPairs
public static final PdbPairsMessage getPdbPairs(String url, int nrPair, String username) throws IOException, JobKillException - Throws:
IOException
JobKillException
-
getRepresentatives
-