Package uk.ac.starlink.registry
Class RegClientTest
- java.lang.Object
-
- uk.ac.starlink.registry.RegClientTest
-
public class RegClientTest extends java.lang.Object
Example standalone utility which uses the registry client code. The main method allows you to make a registry query and prints a basic summary of the results. Run it with the "-help" flag for usage information.- Author:
- Mark Taylor
-
-
Constructor Summary
Constructors Constructor Description RegClientTest()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Map<java.lang.String,java.net.URL>
getKnownRegMap()
Returns a map containing nickname->service endpoint pairs for some popular registries, for convenience.static void
main(java.lang.String[] args)
Main method.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.io.IOException
Main method. The "-help" flag will print usage information.- Throws:
java.io.IOException
-
getKnownRegMap
public static java.util.Map<java.lang.String,java.net.URL> getKnownRegMap()
Returns a map containing nickname->service endpoint pairs for some popular registries, for convenience.- Returns:
- map of nicknames to registry service endpoints
-
-