Java Properties Load from File loadWithNormalMode(final String propertyFilePath)

Here you can find the source of loadWithNormalMode(final String propertyFilePath)

Description

load With Normal Mode

License

Open Source License

Parameter

Parameter Description
propertyFilePath a parameter

Return

void

Declaration

private static Properties loadWithNormalMode(final String propertyFilePath) throws Exception 

Method Source Code


//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
}

Related

  1. loadTestProperties(String filename)
  2. loadToStringFromFile(String fullFileName)
  3. loadTrimedProperties(String filename)
  4. loadUniversal(InputStream in)
  5. loadUserSettings()
  6. loadWithTrimmedValues(InputStream iStr, Properties prop)