private Stack < String > parseTargets ( ) { Stack < String > stack = new Stack < String > ( ) ; String [ ] targetTokens = targets . split ( "," ) ; for ( String targetToken : targetTokens ) { stack . add ( targetToken . trim ( ) ) ; } return stack ; }
Converts comma delimited string to stack .