Spring tutorial to convert Java collection to String
Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 13265
Total Votes: 139 votes
Submitted on: 2013-01-20 07:13:10
Submitted By: Javin Paul
Description:Apart from dependency Injection , Spring framework also has a good Java library which provides lots of utility method. One of them is collectionToCommaDelimitedString , which can be use to convert a Collection e.g. List of String into comma separated or any other delimiter separated String. It automatically handles special case like not putting command after last element etc. More detail...