Java tutorial
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.tweetmap.utilities; import twitter4j.conf.ConfigurationBuilder; /** * * @author Savan */ public class Data { public static ConfigurationBuilder configBuilder; public static String dbDriver = "com.mysql.jdbc.Driver"; public static String dbURL = "jdbc:mysql://localhost:3306"; public static String dbUser = "root"; public static String dbPassword = ""; public static String newDBURL = "jdbc:mysql://localhost:3306/dbtweet"; public static ConfigurationBuilder getConf() { configBuilder = new ConfigurationBuilder(); configBuilder.setDebugEnabled(true); configBuilder.setOAuthConsumerKey("KreBXMpmyq6PrlSfMRdjIOGxO"); configBuilder.setOAuthConsumerSecret("EWf8IEY4IdoDheB13rBiqjomxflQggvoIJakzq83h9EhFANu29"); configBuilder.setOAuthAccessToken("2656744184-CIsaRR7wuAf1Gt89o0YE8F4ZVMMsS7wzDRBmBtW"); configBuilder.setOAuthAccessTokenSecret("IRphexX0N5ivq93dFW4b0pQYkk0hvOu6rS3IMeOVIstYV"); return configBuilder; } }