Back to project page music-inbox-android.
The source code is released under:
GNU General Public License
If you think the Android project music-inbox-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.musicinbox.android.rss; //from w w w . j av a 2s . co m import java.util.ArrayList; import java.util.List; import android.net.Uri; public class ChannelBuilder { private String title; private Uri link; private List<Item> items = new ArrayList<Item>(); public void setTitle(String title) { this.title = title; } public void setLink(Uri link) { this.link = link; } public void addItem(Item item) { this.items.add(item); } public Channel build() { return new Channel(title, link, items); } }