Follow the below steps to load property file in a java static method.
Properties prop = new Properties();
prop.load(YourClassName.class.getResourceAsStream("File path"));
Search This Blog
Monday, January 18, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment