public class ResolverInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SESAME_URL
Base URL for HTTP-GET-based Sesame service.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getDecDegrees()
Returns object declination in degrees.
|
double |
getRaDegrees()
Returns object right ascension in degrees.
|
static void |
main(java.lang.String[] args) |
static ResolverInfo |
resolve(java.lang.String name)
Attempts to resolve an object by name using a name resover service,
and either returns an object containing information about it or
throws an exception.
|
public static final java.lang.String SESAME_URL
public double getRaDegrees()
public double getDecDegrees()
public static ResolverInfo resolve(java.lang.String name) throws ResolverException
name - object nameResolverException - if resolution failed for some reasonpublic static void main(java.lang.String[] args)
throws ResolverException
ResolverExceptionCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.