|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object compbio.ws.client.Jws2Client
public class Jws2Client
A command line client for Jalview Web Services version 2
Nested Class Summary | |
---|---|
static class |
Jws2Client.Services
List of web services currently supported by JWS2 |
Method Summary | ||
---|---|---|
static
|
connect(java.lang.String host,
Jws2Client.Services service)
Connects to a web service by the host and the service name |
|
static java.lang.String |
getHost(java.lang.String[] cmd)
Extracts host name from the command line |
|
static java.lang.String |
getServiceName(java.lang.String[] cmd)
Extracts service name from the command line |
|
static void |
main(java.lang.String[] args)
Starts command line client, if no parameter are supported print help. |
|
static boolean |
validURL(java.lang.String urlstr)
Attempt to construct the URL object from the string |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean validURL(java.lang.String urlstr)
urlstr
-
public static java.lang.String getServiceName(java.lang.String[] cmd)
cmd
- command line options
public static java.lang.String getHost(java.lang.String[] cmd)
cmd
- command line options
public static <T> MsaWS<T> connect(java.lang.String host, Jws2Client.Services service) throws javax.xml.ws.WebServiceException
T
- web service typehost
- service
-
javax.xml.ws.WebServiceException
public static void main(java.lang.String[] args)
args
- Usage:
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |