Package org.eurekastreams.server.domain

Examples of org.eurekastreams.server.domain.CollectionFormat


     * @param type - Background type of the Background Item to parse.
     * @return items.
     */
    private List<BackgroundItem> parseItems(final String toParse, final BackgroundItemType type)
    {
        CollectionFormat formatter = new CollectionFormat();
        List<BackgroundItem> backgroundItems = new ArrayList<BackgroundItem>();
        Collection<String> elements = formatter.parse(toParse);
        for (String token : elements)
        {
            backgroundItems.add(new BackgroundItem(token, type));
        }
        return backgroundItems;
View Full Code Here

TOP

Related Classes of org.eurekastreams.server.domain.CollectionFormat

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.