Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ability to add events using input file.
- Loading branch information
Showing
72 changed files
with
12,170 additions
and
61,127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,3 +41,6 @@ local.properties | |
|
||
# PDT-specific | ||
.buildpath | ||
|
||
# OS X | ||
.DS_STORE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Flightsdb | ||
========= | ||
|
||
Import the project in eclipse. Then to use the application, you need to first start the database, executing the following command from the root (where this README is located): | ||
|
||
java -cp lib/hsqldb.jar org.hsqldb.server.Server --database.0 file:flightsdb --dbname.0 flightsdb | ||
|
||
This allows you to start the server, using the database contained in the root ofthe project. | ||
If you want, there is the possibility to access the database using a GUI manager. You can launch it using the hsqldb archive: | ||
|
||
java -cp lib/hsqldb.jar org.hsqldb.util.DatabaseManagerSwing | ||
|
||
To connect to the db, you have to fill the fields using the following values: | ||
|
||
Type: HSQL Database Engine Server | ||
Driver: org.hsqldb.jdbcDriver | ||
URL: jdbc:hsqldb:hsql://localhost/flightsdb | ||
User: SA | ||
Password: (no password) | ||
|
||
There you can have access to all the database, perform some queries. | ||
|
||
Then, to use the real application, in eclipse using the Run/Run Configurations menu, create a new configuration for the Launcher class. Specify as argument input_ids.txt, which is the file containing the usernames to fetch. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | ||
<!--NewPage--> | ||
<HTML> | ||
<HEAD> | ||
<!-- Generated by javadoc (build 1.6.0_31) on Sun Apr 08 21:30:02 EDT 2012 --> | ||
<TITLE> | ||
All Classes | ||
</TITLE> | ||
|
||
<META NAME="date" CONTENT="2012-04-08"> | ||
|
||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> | ||
|
||
|
||
</HEAD> | ||
|
||
<BODY BGCOLOR="white"> | ||
<FONT size="+1" CLASS="FrameHeadingFont"> | ||
<B>All Classes</B></FONT> | ||
<BR> | ||
|
||
<TABLE BORDER="0" WIDTH="100%" SUMMARY=""> | ||
<TR> | ||
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="net/flighttweets/tweets/Analyzer.html" title="class in net.flighttweets.tweets" target="classFrame">Analyzer</A> | ||
<BR> | ||
<A HREF="net/flighttweets/tweets/FetcherCallback.html" title="interface in net.flighttweets.tweets" target="classFrame"><I>FetcherCallback</I></A> | ||
<BR> | ||
<A HREF="net/flighttweets/tweets/FetcherTask.html" title="class in net.flighttweets.tweets" target="classFrame">FetcherTask</A> | ||
<BR> | ||
<A HREF="net/flighttweets/tweets/data/FetchItemBundle.html" title="class in net.flighttweets.tweets.data" target="classFrame">FetchItemBundle</A> | ||
<BR> | ||
<A HREF="net/flighttweets/tweets/FlightNumberAnalyzer.html" title="class in net.flighttweets.tweets" target="classFrame">FlightNumberAnalyzer</A> | ||
<BR> | ||
<A HREF="net/flighttweets/tweets/geoAnalyzer.html" title="class in net.flighttweets.tweets" target="classFrame">geoAnalyzer</A> | ||
<BR> | ||
<A HREF="net/flighttweets/tweets/Launcher.html" title="class in net.flighttweets.tweets" target="classFrame">Launcher</A> | ||
<BR> | ||
<A HREF="net/flighttweets/tweets/StorageManager.html" title="class in net.flighttweets.tweets" target="classFrame">StorageManager</A> | ||
<BR> | ||
<A HREF="net/flighttweets/tweets/TimelinessAnalyzer.html" title="class in net.flighttweets.tweets" target="classFrame">TimelinessAnalyzer</A> | ||
<BR> | ||
<A HREF="net/flighttweets/tweets/TweetFetcher.html" title="class in net.flighttweets.tweets" target="classFrame">TweetFetcher</A> | ||
<BR> | ||
<A HREF="net/flighttweets/tweets/TweetFilter.html" title="class in net.flighttweets.tweets" target="classFrame">TweetFilter</A> | ||
<BR> | ||
<A HREF="net/flighttweets/tweets/TweetSaver.html" title="class in net.flighttweets.tweets" target="classFrame">TweetSaver</A> | ||
<BR> | ||
</FONT></TD> | ||
</TR> | ||
</TABLE> | ||
|
||
</BODY> | ||
</HTML> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | ||
<!--NewPage--> | ||
<HTML> | ||
<HEAD> | ||
<!-- Generated by javadoc (build 1.6.0_31) on Sun Apr 08 21:30:02 EDT 2012 --> | ||
<TITLE> | ||
All Classes | ||
</TITLE> | ||
|
||
<META NAME="date" CONTENT="2012-04-08"> | ||
|
||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> | ||
|
||
|
||
</HEAD> | ||
|
||
<BODY BGCOLOR="white"> | ||
<FONT size="+1" CLASS="FrameHeadingFont"> | ||
<B>All Classes</B></FONT> | ||
<BR> | ||
|
||
<TABLE BORDER="0" WIDTH="100%" SUMMARY=""> | ||
<TR> | ||
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="net/flighttweets/tweets/Analyzer.html" title="class in net.flighttweets.tweets">Analyzer</A> | ||
<BR> | ||
<A HREF="net/flighttweets/tweets/FetcherCallback.html" title="interface in net.flighttweets.tweets"><I>FetcherCallback</I></A> | ||
<BR> | ||
<A HREF="net/flighttweets/tweets/FetcherTask.html" title="class in net.flighttweets.tweets">FetcherTask</A> | ||
<BR> | ||
<A HREF="net/flighttweets/tweets/data/FetchItemBundle.html" title="class in net.flighttweets.tweets.data">FetchItemBundle</A> | ||
<BR> | ||
<A HREF="net/flighttweets/tweets/FlightNumberAnalyzer.html" title="class in net.flighttweets.tweets">FlightNumberAnalyzer</A> | ||
<BR> | ||
<A HREF="net/flighttweets/tweets/geoAnalyzer.html" title="class in net.flighttweets.tweets">geoAnalyzer</A> | ||
<BR> | ||
<A HREF="net/flighttweets/tweets/Launcher.html" title="class in net.flighttweets.tweets">Launcher</A> | ||
<BR> | ||
<A HREF="net/flighttweets/tweets/StorageManager.html" title="class in net.flighttweets.tweets">StorageManager</A> | ||
<BR> | ||
<A HREF="net/flighttweets/tweets/TimelinessAnalyzer.html" title="class in net.flighttweets.tweets">TimelinessAnalyzer</A> | ||
<BR> | ||
<A HREF="net/flighttweets/tweets/TweetFetcher.html" title="class in net.flighttweets.tweets">TweetFetcher</A> | ||
<BR> | ||
<A HREF="net/flighttweets/tweets/TweetFilter.html" title="class in net.flighttweets.tweets">TweetFilter</A> | ||
<BR> | ||
<A HREF="net/flighttweets/tweets/TweetSaver.html" title="class in net.flighttweets.tweets">TweetSaver</A> | ||
<BR> | ||
</FONT></TD> | ||
</TR> | ||
</TABLE> | ||
|
||
</BODY> | ||
</HTML> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,180 @@ | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | ||
<!--NewPage--> | ||
<HTML> | ||
<HEAD> | ||
<!-- Generated by javadoc (build 1.6.0_31) on Sun Apr 08 21:30:02 EDT 2012 --> | ||
<TITLE> | ||
Constant Field Values | ||
</TITLE> | ||
|
||
<META NAME="date" CONTENT="2012-04-08"> | ||
|
||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> | ||
|
||
<SCRIPT type="text/javascript"> | ||
function windowTitle() | ||
{ | ||
if (location.href.indexOf('is-external=true') == -1) { | ||
parent.document.title="Constant Field Values"; | ||
} | ||
} | ||
</SCRIPT> | ||
<NOSCRIPT> | ||
</NOSCRIPT> | ||
|
||
</HEAD> | ||
|
||
<BODY BGCOLOR="white" onload="windowTitle();"> | ||
<HR> | ||
|
||
|
||
<!-- ========= START OF TOP NAVBAR ======= --> | ||
<A NAME="navbar_top"><!-- --></A> | ||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> | ||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> | ||
<TR> | ||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> | ||
<A NAME="navbar_top_firstrow"><!-- --></A> | ||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> | ||
<TR ALIGN="center" VALIGN="top"> | ||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> | ||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD> | ||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> | ||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD> | ||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> | ||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> | ||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> | ||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> | ||
</TR> | ||
</TABLE> | ||
</TD> | ||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> | ||
</EM> | ||
</TD> | ||
</TR> | ||
|
||
<TR> | ||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | ||
PREV | ||
NEXT</FONT></TD> | ||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | ||
<A HREF="index.html?constant-values.html" target="_top"><B>FRAMES</B></A> | ||
<A HREF="constant-values.html" target="_top"><B>NO FRAMES</B></A> | ||
<SCRIPT type="text/javascript"> | ||
<!-- | ||
if(window==top) { | ||
document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); | ||
} | ||
//--> | ||
</SCRIPT> | ||
<NOSCRIPT> | ||
<A HREF="allclasses-noframe.html"><B>All Classes</B></A> | ||
</NOSCRIPT> | ||
|
||
|
||
</FONT></TD> | ||
</TR> | ||
</TABLE> | ||
<A NAME="skip-navbar_top"></A> | ||
<!-- ========= END OF TOP NAVBAR ========= --> | ||
|
||
<HR> | ||
<CENTER> | ||
<H1> | ||
Constant Field Values</H1> | ||
</CENTER> | ||
<HR SIZE="4" NOSHADE> | ||
<B>Contents</B><UL> | ||
<LI><A HREF="#net.flighttweets">net.flighttweets.*</A> | ||
</UL> | ||
|
||
<A NAME="net.flighttweets"><!-- --></A> | ||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | ||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | ||
<TH ALIGN="left"><FONT SIZE="+2"> | ||
net.flighttweets.*</FONT></TH> | ||
</TR> | ||
</TABLE> | ||
|
||
<P> | ||
|
||
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | ||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | ||
<TH ALIGN="left" COLSPAN="3">net.flighttweets.tweets.<A HREF="net/flighttweets/tweets/Launcher.html" title="class in net.flighttweets.tweets">Launcher</A></TH> | ||
</TR> | ||
<TR BGCOLOR="white" CLASS="TableRowColor"> | ||
<A NAME="net.flighttweets.tweets.Launcher.ARGS_ERROR"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> | ||
<CODE>public static final int</CODE></FONT></TD> | ||
<TD ALIGN="left"><CODE><A HREF="net/flighttweets/tweets/Launcher.html#ARGS_ERROR">ARGS_ERROR</A></CODE></TD> | ||
<TD ALIGN="right"><CODE>1</CODE></TD> | ||
</TR> | ||
<TR BGCOLOR="white" CLASS="TableRowColor"> | ||
<A NAME="net.flighttweets.tweets.Launcher.FILE_FORMAT_ERROR"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> | ||
<CODE>public static final int</CODE></FONT></TD> | ||
<TD ALIGN="left"><CODE><A HREF="net/flighttweets/tweets/Launcher.html#FILE_FORMAT_ERROR">FILE_FORMAT_ERROR</A></CODE></TD> | ||
<TD ALIGN="right"><CODE>2</CODE></TD> | ||
</TR> | ||
</FONT></TD> | ||
</TR> | ||
</TABLE> | ||
|
||
<P> | ||
|
||
<P> | ||
<HR> | ||
|
||
|
||
<!-- ======= START OF BOTTOM NAVBAR ====== --> | ||
<A NAME="navbar_bottom"><!-- --></A> | ||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> | ||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> | ||
<TR> | ||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> | ||
<A NAME="navbar_bottom_firstrow"><!-- --></A> | ||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> | ||
<TR ALIGN="center" VALIGN="top"> | ||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> | ||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD> | ||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> | ||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD> | ||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> | ||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> | ||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> | ||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> | ||
</TR> | ||
</TABLE> | ||
</TD> | ||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> | ||
</EM> | ||
</TD> | ||
</TR> | ||
|
||
<TR> | ||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | ||
PREV | ||
NEXT</FONT></TD> | ||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | ||
<A HREF="index.html?constant-values.html" target="_top"><B>FRAMES</B></A> | ||
<A HREF="constant-values.html" target="_top"><B>NO FRAMES</B></A> | ||
<SCRIPT type="text/javascript"> | ||
<!-- | ||
if(window==top) { | ||
document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); | ||
} | ||
//--> | ||
</SCRIPT> | ||
<NOSCRIPT> | ||
<A HREF="allclasses-noframe.html"><B>All Classes</B></A> | ||
</NOSCRIPT> | ||
|
||
|
||
</FONT></TD> | ||
</TR> | ||
</TABLE> | ||
<A NAME="skip-navbar_bottom"></A> | ||
<!-- ======== END OF BOTTOM NAVBAR ======= --> | ||
|
||
<HR> | ||
|
||
</BODY> | ||
</HTML> |
Oops, something went wrong.