@ Override public String [ ] getStringArray ( String key ) { List < Object > list = getList ( key ) ; // transform property values into strings String [ ] tokens = new String [ list . size ( ) ] ; for ( int i = 0 ; i < tokens . length ; i ++ ) { tokens [ i ] = String . valueOf ( list . get ( i ) ) ; } return tokens ; }
Get an array of strings associated with the given configuration key . If the key doesn t map to an existing object an empty array is returned