Properties confProperties = Conf.loadConfiguration(new File("conf/metamap.conf"));
/**
* set parameters (set parameters in conf/metamap.properties)
*/
api = new MetaMapApiImpl();
api.setHost(confProperties.getProperty("serverHostname"));
api.setPort(Integer.parseInt(confProperties.getProperty("serverPort")));
List<String> theOptions = FileOps.getFileContentAsList(new File("conf/metamap.parameters").toURI().toURL());
if (theOptions.size() > 0) {