|
Bridges-Java-2.3.2
2.3.2
Bridges(JavaAPI)
|
Static Public Member Functions | |
| static String | getServerURL () |
| static void | setServerURL (String server_url) |
| static StringBuilder | trimComma (StringBuilder in) |
| static List< Follower > | getAssociations (Follower identifier, int max) |
| static List< Tweet > | getAssociations (TwitterAccount identifier, int max) |
| static List< EarthquakeUSGS > | getAssociations (USGSaccount identifier, int max) |
| static List< EarthquakeTweet > | convertTweet (List< Tweet > aList) |
| static List< Actor > | getAssociations (Actor identifier, int max) |
| static List< Movie > | getAssociations (Movie identifier, int max) |
| static List< Tweet > | next (List< Tweet > aList, int max) |
| static List< EarthquakeUSGS > | next (List< EarthquakeUSGS > aList, int max, USGSaccount acu) |
| static int | validNumberOfTweets (int max) |
| static double | getEdgeWeight (String source, String target) |
| static ArrayList< EarthquakeUSGS > | getEarthquakeUSGSData (USGSaccount acctName, int maxElem) throws Exception |
| static ArrayList< ActorMovieIMDB > | getActorMovieIMDBData (String name, int maxElem) throws Exception |
| static ArrayList< GutenbergBook > | getGutenbergBookMetaData () throws Exception |
| static ArrayList< Game > | getGameData () throws Exception |
| static ArrayList< Shakespeare > | getShakespeareData () throws Exception |
Protected Member Functions | |
| DataFormatter () | |
| Connector | getBackend () |
| void | setBackend (Connector backend) |
Connection to the DataFormatters server.
Initialize this class before using it, and call complete() afterward.
| <E> | Mihai Mehedint |
|
protected |
Constructor
|
static |
This method change the tweet object into an earthquake tweet object with more data extracted from the tweet content, like magnitude
| aList |
|
static |
|
static |
Automatically choose whether to open a node identifier with: Twitter via followers(), TMDb with movies(), or RottenTomatoes with actors()
| identifier | |
| max |
| QueryLimitException | This Method returns the list of followers |
| identifier | holds the name of the |
| max | holds the max number of followers |
|
static |
This Method returns the list of tweets
| identifier | holds the name of the |
| max | holds the max number of tweets |
| MyExceptionClass |
|
static |
This Method returns the list of earthquakes
| identifier | holds the name of the |
| max | holds the max number of earthquakes |
| MyExceptionClass |
|
static |
This Method returns the list of actors
| identifier | holds the name of the movie |
| max | holds the max number of actors |
|
static |
This Method returns the list of movies
| identifier | holds the name of the movie |
| max | holds the max number of movies |
|
protected |
|
static |
|
static |
Generate a sample Edge weight for two nodes
| source | |
| target |
|
static |
|
static |
|
static |
|
static |
The next(List<Tweet>, int) method retrieves the next batch of tweets and adds deep copy of those tweets to the current list
| aList | holds the reference to the current list of tweets |
| max | the number of tweets in the new batch of tweets |
| MyExceptionClass |
|
static |
The next(List<EarthquakeUSGS>, int) method retrieves the next batch of eq and adds deep copy of those eq to the current list
| aList | holds the reference to the current list of eq |
| max | the number of eq in the new batch of eq |
| MyExceptionClass |
|
protected |
| backend | the backend to set |
|
static |
|
static |
Internal method for JSON preparation
| in | The original string |
|
static |
Check the validity of number of Tweets requested
| max | the number of tweets |
| MyExceptionClass | otherwise |
1.8.10