|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.grelf.astro.StarChartLoader
net.grelf.astro.AstroGridGateway
public class AstroGridGateway
This singleton class contains methods for accessing the online AstroGrid (see www.astrogrid.org). It is necessary to have their Virtual Observatory (VO) Desktop running and the RMI version of its JAR files on the classpath. AstroGrid services are accessed by RMI from the methods in this class.
| Field Summary |
|---|
| Fields inherited from class net.grelf.astro.StarChartLoader |
|---|
cos90ap, cosdp, epoch, equinox, sin90ap, sindp, sinFieldRadius |
| Method Summary | |
|---|---|
boolean |
assignConeServiceURI(java.lang.String uri)
Returns false if the URI is not one for which this class can process the results. |
java.lang.String[] |
getAcceptableConeServiceURIs()
Get an array of URIs for which this class is able to process the response to extract Star objects. |
java.lang.String |
getConeServiceURI()
Find out which VO service is being used for searchCone (). |
static AstroGridGateway |
getInstance()
Get a reference to the gateway object (singleton). |
SkyPoint |
getPositionOfNamedObject(java.lang.String name)
Uses the Sesame service (see http://cdsweb.u-strasbg.fr/doc/sesame.htx) via AstroGrid. |
boolean |
isAvailable()
Returns true if manages to connect to a running instance of AstroGrid RunTime. |
java.util.List<Star> |
searchCone(SkyPoint centre,
double radiusDegrees)
Search a cone in the sky of given angular radius about the given direction. |
| Methods inherited from class net.grelf.astro.StarChartLoader |
|---|
calculateChartCoordinates, getEpoch, getEquinox, initialiseChartCoordinates |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static AstroGridGateway getInstance()
public boolean isAvailable()
public SkyPoint getPositionOfNamedObject(java.lang.String name)
public java.lang.String[] getAcceptableConeServiceURIs()
public java.lang.String getConeServiceURI()
public boolean assignConeServiceURI(java.lang.String uri)
public java.util.List<Star> searchCone(SkyPoint centre,
double radiusDegrees)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||