Package com.omertron.imdbapi.wrapper

Examples of com.omertron.imdbapi.wrapper.WrapperBoxOffice


     * Get the latest box office information
     *
     * @return
     */
    public List<ImdbBoxOffice> getBoxOffice() {
        WrapperBoxOffice wrapper = ApiBuilder.getWrapper(WrapperBoxOffice.class, "boxoffice", Collections.<String,String>emptyMap());
        // Because WrapperBoxOffice is a "double" wrapper, we need to access the "inner" layer through the "outer" layer
        if (wrapper != null && wrapper.getData().getBoxOfficeList() != null) {
            return wrapper.getData().getBoxOfficeList().getBoxOffice();
        }
        return Collections.emptyList();
    }
View Full Code Here

TOP

Related Classes of com.omertron.imdbapi.wrapper.WrapperBoxOffice

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.