Utility.initLogging("");
//Create a MAP
Map map = new Map();
//Create an INBOOUND Interface
InboundInterface inint = new InboundInterface(map);
//Define input path
inint.setInputPath(System.getProperty("user.dir")+File.separator+"interface"+File.separator+"input");
inint.setBackupPath(System.getProperty("user.dir")+File.separator+"interface"+File.separator+"backup");
inint.setOutputPath(System.getProperty("user.dir")+File.separator+"interface"+File.separator+"output");
inint.setXSLTFilename(System.getProperty("user.dir")+File.separator+"interface"+File.separator+"xslt"+File.separator+"CSVtoExcel.xsl");
//Define input file mask
inint.setInputFileMask("csv");
//Define INBOUND Connector as CSV
inint.setType(IntefaceConnector.Connector_CSV);
//Set Folder Polling Frequency to 1000 milliseconds
inint.setPollingInterval((long) 1000);
//Assign INBOUND interface to Map
map.setInboundInterface(inint);
//Enable MAP and associated Interfaces
OutboundInterface outint = new OutboundInterface(map);