|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.harvard.cfa.vo.tapclient.tool.Client
edu.harvard.cfa.vo.tapclient.tool.CapabilitiesClient
public class CapabilitiesClient
A TAP command line interface.
Constructor Summary | |
---|---|
CapabilitiesClient()
Construct an CapabilitiesClient with the default Options. |
Method Summary | |
---|---|
protected void |
doCapabilities()
Writes the TAP service capabilities to the output stream. |
static void |
main(java.lang.String[] args)
Calls System.exit(0) on success Calls System.exit(1) on error |
void |
run()
|
Methods inherited from class edu.harvard.cfa.vo.tapclient.tool.Client |
---|
checkRequired, createOptions, getBaseName, getCommandLine, getCommandLineSyntax, getOptionComparator, getOptions, getOutput, getVersion, isVerbose, parse, printHelp, printVersion |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CapabilitiesClient()
Client.createOptions()
Method Detail |
---|
public void run() throws org.apache.commons.cli.ParseException, java.io.FileNotFoundException, HttpException, ResponseFormatException, java.io.IOException
run
in class Client
org.apache.commons.cli.ParseException
java.io.FileNotFoundException
HttpException
ResponseFormatException
java.io.IOException
protected void doCapabilities() throws java.io.FileNotFoundException, HttpException, ResponseFormatException, java.io.IOException
java.io.FileNotFoundException
- if an error occurs opening the output file.
HttpException
- if the TAP service gives an unexpected HTTP response code.
ResponseFormatException
- if an error occurs parsing the TAP service response.
java.io.IOException
- if an I/O error occurs communicating with the TAP service.Client.getOutput()
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |