Examples of RedditRequest


Examples of reddit.RedditRequest

                int numberOfThreads = downloadThreads == null ? 10 : Integer.valueOf(downloadThreads);
                ExecutorService threadPool = Executors.newFixedThreadPool(numberOfThreads);

                /* Connect to reddit and get the content from the source given */
                System.out.println("Connecting to reddit");
                RedditRequest reddit = new RedditRequest((String) conf.get("reddit_token"));

                System.out.println("Fetching results");

                String sourceUrl = (String) conf.get("source_url");

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.