Tamu Grade Analyzer
Analyzes the grade distribution of Texas A&M professors
Static Public Member Functions | List of all members
StripAndInsert Class Reference

Static Public Member Functions

static void main (String[] args)
 
static void unpackAndInsert (String condensedFileName, DatabaseAPI db) throws FileNotFoundException
 

Detailed Description

Created by jonathanw on 8/15/17. This class is now unnecessary because it now belongs to the the TamuGradAnalyzer-Insert project which now handles all of the functions below. The insert functions will no longer work because the proper permissions are not granted to the default users, whose username and password are hardcoded in the DatabaseAPI class

Member Function Documentation

static void StripAndInsert.main ( String[]  args)
static

main function for testing

Parameters
args
static void StripAndInsert.unpackAndInsert ( String  condensedFileName,
DatabaseAPI  db 
) throws FileNotFoundException
static

unpacks the condensed data from the CondensedData.dat file and inserts into the database using the DBAPI class

Parameters
condensedFileNamethe name of the condensed data file
dbthe object which gives this function database access
Exceptions
FileNotFoundException

There are some dirty inputs that don't have enough information in the line This verifies that there is enough information to be input into the Database


The documentation for this class was generated from the following file: