SyntaxFix
Write A Post
Hire A Developer
Questions
final Properties properties = new Properties(); try (final InputStream stream = this.getClass().getResourceAsStream("foo.properties")) { properties.load(stream); /* or properties.loadFromXML(...) */ }