public class ResolverInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
static 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(String[] args) |
static ResolverInfo |
resolve(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.
|
static ResolverInfo |
resolve(String name,
String resolverUrl) |
public static final String SESAME_URL
public double getRaDegrees()
public double getDecDegrees()
public static ResolverInfo resolve(String name) throws ResolverException
name - object nameResolverException - if resolution failed for some reasonpublic static ResolverInfo resolve(String name, String resolverUrl) throws ResolverException
ResolverExceptionpublic static void main(String[] args) throws ResolverException
ResolverExceptionCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.