public List < String > getStrings ( String name , String delimiter ) { String value = getString ( name , null ) ; if ( StringUtils . isNullOrEmpty ( value ) ) { return Collections . emptyList ( ) ; } value = value . trim ( ) ; // to handles cases where value is specified like [a,b, c] if ( value . startsWith ( "[" ) && value . endsWith ( "]" ) ) { value = value . substring ( 1 , value . length ( ) - 1 ) ; } return StringUtils . getList ( value , delimiter ) ; }
Returns a list of strings from the specified name using the specified delimiter .