Package com.omertron.themoviedbapi.wrapper

Examples of com.omertron.themoviedbapi.wrapper.WrapperReleaseInfo


        URL url = apiUrl.buildUrl();
        String webpage = requestWebPage(url);

        try {
            WrapperReleaseInfo wrapper = mapper.readValue(webpage, WrapperReleaseInfo.class);
            TmdbResultsList<ReleaseInfo> results = new TmdbResultsList<ReleaseInfo>(wrapper.getCountries());
            results.copyWrapper(wrapper);
            return results;
        } catch (IOException ex) {
            LOG.warn("Failed to get movie release information: {}", ex.getMessage(), ex);
            throw new MovieDbException(MovieDbExceptionType.MAPPING_FAILED, webpage, url, ex);
View Full Code Here

TOP

Related Classes of com.omertron.themoviedbapi.wrapper.WrapperReleaseInfo

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.