public static List<URL> urls(AbstractConfig config, String key) {
    List<URL> result = new ArrayList<>();
    List<String> input = config.getList(key);
    for (String s : input) {
      result.add(url(key, s));
    }
    return ImmutableList.copyOf(result);
  }
public static List < URL > urls ( AbstractConfig config , String key ) { List < URL > result = new ArrayList < > ( ) ; List < String > input = config . getList ( key ) ; for ( String s : input ) { result . add ( url ( key , s ) ) ; } return ImmutableList . copyOf ( result ) ; }
Method is used to retrieve a list of URL(s) from a configuration key.

@param config Config to read
@param key    Key to read
@return URL for the value.