Java Properties Load from File loadInstallProps()

Here you can find the source of loadInstallProps()

Description

load Install Props

License

Open Source License

Declaration

public static Properties loadInstallProps() 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.io.FileInputStream;

import java.util.Properties;

public class Main {
    public static Properties loadInstallProps() {
        try {/* w  ww.  j  a  va  2 s .  c o m*/
            Properties prop = new Properties();
            prop.load(new FileInputStream("caTissueInstall.properties"));
            return prop;
        } catch (Exception e) {
            throw new RuntimeException("Error loading install properties file", e);
        }
    }
}

Related

  1. loadFixture(String fixtureId)
  2. loadGradleResource(String fileName)
  3. loadHeader(String fileName)
  4. loadIncludes(String propertyName, boolean mandatory, File file, Properties configProps)
  5. loadInputAsString(InputStream is)
  6. loadJZ(File file)
  7. loadKeys(String propertiesFileName, InputStream in)
  8. loadLibrary(String libFileName)
  9. loadLibrarySmart(String libraryName)