package graph; import java.util.Properties; import graph.extractor.ExtractorGraph; import graph.input.file.InputFolder; import graph.input.file.InputSTJ; import graph.output.database.DatabaseOutput; import graph.properties.ExtractorProperties; public class StartExtractorDO { public static void main(String[] args) { // TODO Auto-generated method stub /**Starts all properties*/ Properties exctractorProperites = new ExtractorProperties(); InputFolder folder = new InputFolder(exctractorProperites); /**Extractor**/ ExtractorGraph exctractorGraph = new ExtractorGraph(); /**Add the inputs*/ exctractorGraph.addInput(new InputSTJ(folder)); /***/ /**Do the process on this part all the most CPU will be usage*/ exctractorGraph.process(); /**add the Output*/ exctractorGraph.addOutPut(new DatabaseOutput()); //exctractorGraph.addOutPut(new ScreenOutput()); /******/ /**Shows the result*/ exctractorGraph.outPut(); } }