private Part [ ] parseValues ( String contents ) { String [ ] parts = contents . split ( "," ) ; Part [ ] results = new Part [ parts . length ] ; for ( int i = 0 ; i < parts . length ; i ++ ) { try { results [ i ] = new Part ( parts [ i ] , property ) ; } catch ( Exception e ) { LOG . warning ( e . getMessage ( ) ) ; results [ i ] = null ; } } return results ; }
Parse the values out of a property .