Here you can find the source of loadWithNormalMode(final String propertyFilePath)
Parameter | Description |
---|---|
propertyFilePath | a parameter |
private static Properties loadWithNormalMode(final String propertyFilePath) throws Exception
//package com.java2s; //License from project: Open Source License import java.io.FileInputStream; import java.util.Properties; public class Main { private static Properties loadWithNormalMode(final String propertyFilePath) throws Exception { Properties props = new Properties(); props.load(new FileInputStream(propertyFilePath)); return props; }//from w w w . j a v a2 s .com }