// Path: DB_and_virustotal_submission/MalwareAnalysisDBProject/src/com/progetto_sicurezza/dbconfig/DBConfiguration.java
// public class DBConfiguration
// {
// 	public static final String DB_URL = "jdbc:mysql://localhost:3306/malware_data_collection";
// 	public static final String USERNAME ="root";
// 	public static final String PASSWORD = "";
// }


import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.Statement;
import com.progetto_sicurezza.dbconfig.DBConfiguration;
package com.progetto_sicurezza.ui;



public class HtmlReporterPre
{
	final static String CHAR_ENCODING = "UTF-8";
	
	public static void showResultsMalwarePre() throws SQLException, IOException
	{
// Path: DB_and_virustotal_submission/MalwareAnalysisDBProject/src/com/progetto_sicurezza/dbconfig/DBConfiguration.java
// public class DBConfiguration
// {
// 	public static final String DB_URL = "jdbc:mysql://localhost:3306/malware_data_collection";
// 	public static final String USERNAME ="root";
// 	public static final String PASSWORD = "";
// }


// Path: DB_and_virustotal_submission/MalwareAnalysisDBProject/src/com/progetto_sicurezza/ui/HtmlReporterPre.java
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.Statement;
import com.progetto_sicurezza.dbconfig.DBConfiguration;

package com.progetto_sicurezza.ui;



public class HtmlReporterPre
{
	final static String CHAR_ENCODING = "UTF-8";
	
	public static void showResultsMalwarePre() throws SQLException, IOException
	{
		Connection dbCon = DriverManager.getConnection(DBConfiguration.DB_URL,DBConfiguration.USERNAME,DBConfiguration.PASSWORD);