Properties properties = new Properties();
File file = new File("src/main/resources/generator.xml");InputStream in = new FileInputStream(file);properties.loadFromXML(in);