public class GeneratedClientSettings extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PASS
user to login as
|
static String |
URL
url prefix
|
static String |
USER
user to login as
|
static String |
VERSION
client version.
|
Constructor and Description |
---|
GeneratedClientSettings() |
Modifier and Type | Method and Description |
---|---|
static ClassLoader |
classLoader()
fast class loader
|
static URL |
computeUrl(String resourceName,
boolean canBeNull)
compute a url of a resource
|
static File |
fileFromResourceName(String resourceName)
get a file name from a resource name
|
static <T> T[] |
nonNull(T[] array)
make sure a array is non null.
|
public static String VERSION
public static String USER
public static String PASS
public static String URL
public static <T> T[] nonNull(T[] array)
T
- array
- public static File fileFromResourceName(String resourceName)
resourceName
- is the classpath locationpublic static URL computeUrl(String resourceName, boolean canBeNull)
resourceName
- canBeNull
- if cant be null, throw runtimepublic static ClassLoader classLoader()
Copyright © 2016 Internet2. All rights reserved.