public List < String > parseMethodList ( String methods ) { String [ ] methodArray = StringUtils . delimitedListToStringArray ( methods , "," ) ; List < String > methodList = new ArrayList < String > ( ) ; for ( String methodName : methodArray ) { methodList . add ( methodName . trim ( ) ) ; } return methodList ; }
Parse a comma - delimited list of method names into a List of strings . Whitespace is ignored .