public class DiscoveryClient extends Object
| Constructor and Description |
|---|
DiscoveryClient() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
hasDiscovery()
see if we are configured for discovery
|
static void |
main(String[] args) |
static File |
retrieveFile(String fileName,
boolean throwExceptionIfNotFound)
retrieve a file from the discovery server
|
public static void main(String[] args)
args - public static boolean hasDiscovery()
public static File retrieveFile(String fileName, boolean throwExceptionIfNotFound)
fileName - file name on the serverthrowExceptionIfNotFound - true if should throw an exception if not foundCopyright © 2020 Internet2. All rights reserved.