Package org.springframework.social.movies.netflix.api

Examples of org.springframework.social.movies.netflix.api.CatalogTitle


    List<CatalogTitle> titles = new ArrayList<CatalogTitle>();
    for (Map<String, Object> titleMap : titlesList) {
      String id = String.valueOf(titleMap.get("id"));
      String title = ((Map<String, String>) titleMap.get("title")).get("regular");
      String releaseYear = String.valueOf(titleMap.get("release_year"));
      titles.add(new CatalogTitle(id, title, releaseYear));
    }
    return titles;
  }
View Full Code Here

TOP

Related Classes of org.springframework.social.movies.netflix.api.CatalogTitle

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.