Showing posts with label properties. Show all posts
Showing posts with label properties. Show all posts

Wednesday, 16 November 2011

Loading properties file in java

You just have to define Properties variable and then use load method. Load method gets InputStream as a parameter.
Properties properties = new Properties();
properties.load(is);