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