Code - Converting a logfile to casebase

import java.io.IOException;

import org.RCSImitate.casebasebuilder.LogFile2CaseBase;

public class CreateCaseBase {
	
	public static void main(String[] args) {	
		
		String input = "myLog.log";
		String output = "myCaseBase.cb";
		String team = "Krislet";
		
		LogFile2CaseBase builder = new LogFile2CaseBase(input, output, team);
		try{
			builder.parseLogFile();
			builder.writeCaseBaseFile();
		}catch(IOException e){
			System.out.println("There was an error creating the CaseBase: " +  e.getMessage());
		}
	}
	
}
Comments