public class PropertiesUtils extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
PropertiesUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String[] |
split(String multiValueProp)
Split the given string by comma or semicolon.
|
static boolean |
toBoolean(String value) |
static List<SupportedBrowser> |
toSupportedBrowsers(String[] browserNames)
Convert an array of names of browsers, to a List of
SupportedBrowsers. |
static URL |
toURL(String url) |
public static String[] split(String multiValueProp)
Examples:
multiValueProp - a comma/semicolon-separated stringString.split(String)public static URL toURL(String url)
url - URLConfigException - if MalformedURLException is raisedpublic static boolean toBoolean(String value)
ConfigException - if value is an empty stringpublic static List<SupportedBrowser> toSupportedBrowsers(String[] browserNames)
SupportedBrowsers.Copyright © 2015. All rights reserved.