code: public static final String[] parseURLs(Tree config, String name, String[] defaultURLs) {
  		Tree urlNode = config.get(name);
  		List<String> urlList;
  		if (urlNode == null) {
  			return defaultURLs;
  		} else if (urlNode.isPrimitive()) {
  			urlList = new ArrayList<>();
  			String[] urls = urlNode.asString().split(",");
  			for (String url : urls) {
  				url = url.trim();
  				if (!url.isEmpty()) {
  					urlList.add(url);
  				}
  			}
  		} else if (urlNode.isEnumeration()) {
  			urlList = urlNode.asList(String.class);
  		} else {
  			return defaultURLs;
  		}
  		if (urlList.isEmpty()) {
  			return defaultURLs;
  		}
  		String[] urls = new String[urlList.size()];
  		urlList.toArray(urls);
  		return urls;
  	}
docs: --- PARSE URL LIST OR URL ARRAY ---